Tuesday, October 19, 2010

Linux Keyboard shortcuts

  1. <Ctrl><Alt><F1> **USE**--( Switch to the first text terminal,Under Linux you can have several terminals opened at the same time.. ).
  2. <Ctrl><Alt><Fn> (n=1..6) **USE**--( Switch to the nth text terminal, ).
  3. <tty> **USE**--( Print the name of the terminal in which you are typing this command,,).
  4. <Ctrl><Alt><F7> **USE**--( Switch to the first GUI terminal, ).
  5.   <Tab> **USE**--( In a text terminal,Autocomplete the command  if there is only 1 option, or else show all the available options.),
  6.  <ArrowUp> **USE**--( Scroll & edit the command history, Press <Enter> to execute command.),
  7.  <Shift><PgUp>**USE** --( Scroll terminal output up,Work also at the login prompt, so we can scroll through our bootup messages.),
  8.  <Shift><PgDown> **USE**--( Scroll terminal output down fast .),
  9. <Ctrl><Alt><-> **USE**--( (In X-Windows) Change to the previous X-Server Resolution.),
  10. <Ctrl><Alt><BkSpc> **USE**--( (in X-Wndows) Kill the current X-Windows Server, Use if the X-Windows Server crashes & cannot be exited normally. ),
  11. <Ctrl><Alt><Del> **USE**--( Shut down the system & Reboot, This is the normal shutdown command for a user at the text-mode console, Do not just press the 'reset' button for shutdown.),
  12. <Ctrl>c **USE**--( Kill the current Process ( In the Text mode for small applications.),
  13. <Ctrl>d **USE**--( Log out from the current terminal,We can also see next command.).
  14. <Ctrl>s **USE**--(  Stop the file transfer to the terminal.),
  15. <Ctrl>q **USE**--( Resume the transfer to the terminal, Try if your terminal mysteriously stops responding to you..),
  16. <Ctrl>z--( Send current Process to the background.),
  17. <exit>**USE**--( Logout,. can also use logout for the same effect.,(If you have started a second shell, for  e.g.- using bash the second shell will be exited & you will be back in the first shell, not logged out.)),
  18. <reset>**USE**--( Restore a screwed-up terminal (A terminal which shows funny characters) to default setting, Use if you tried to 'cat' a binary file, You may not be able to see the command as you type it.).
  19. <MiddleMouseButton> **USE**--( Paste the text which is currently Highlighted somewhere else, This is the normal 'copy-paste' Operation in Linux, (It doesn't work with Netscape & Wordperfect which use the MS Windows-style 'copy-paste', It does work in the text terminal if you enabled 'gpm' Service using 'Setup') Best used with a Linux-ready 3-button mouse (Logitech or similar) ),
  20. <~>**USE**--( {tilde} My home directory (normally the directory /home/my_login_name), For example, the command cd ~/my_dir will change my working  directory to the subdirectory 'my_dir' under my home directory,  Typing just .cd. alone is an equivalent of the command .cd ~.).
  21. <.>**USE**--(  {dot} Current directory, For example- ./my_program will attempt to execute the file 'my_program' located in your current working directory,).
  22. <..>**USE**--( {two dots} Directory parent to the current one, For example- the command cd .. will change my current working directory one-one level up.)..

No comments:

Post a Comment