Saturday, 18 March 2017

Linux Shortcut Keys

Keyboard shortcut keys
CTRL+B    Moves the cursor backward one character.
CTRL+C    Cancels the currently running command.
CTRL+D    Logs out of the current session.
CTRL+F     Moves the cursor forward one character.
CTRL+H    Erase one character. Similar to pressing backspace.
CTRL+P     Paste previous line(s).
CTRL+S      Stops all output on screen (XOFF).
CTRL+Q    Turns all output stopped on screen back on (XON).
CTRL+U    Erases the complete line.
CTRL+W    Deletes the last word typed. For example, if you typed 'mv file1 file2' this     shortcut would delete file2.
CTRL+Z        Cancels current operation

Command line shortcuts
~        Moves to the user's home directory.
!!    Repeats the line last entered at the shell. See history command for previous   commands.           
!$        Repeats the last argument for the command last used. See history command      for previous commands.

No comments:

Post a comment