Friday, March 30, 2012

UNIX & Linux hotkeys - Keyboard Shortcuts

UNIX & Linux hotkeys - Keyboard Shortcuts 

CTRL + BMove the cursor backward one character.
CTRL + CCancel the currently running command.
CTRL + DLog out of the current session.
CTRL + FMove the cursor forward one character.
CTRL + HErase one character. Similar to pressing backspace.
CTRL + PPaste previous line and/or lines.
CTRL + SStop all output on screen (XOFF).
CTRL + QTurn all output stopped on screen back on (XON).
CTRL + UErase the complete line.
CTRL + WDelete the last word typed in. For example, if you typed 'mv file1 file2' this shortcut would delete file2.
CTRL + ZCancel current operation, move back a directory and/or take the current operation and move it to the background.
COMMAND LINE SHORTCUTS
In addition to the below command line shortcuts, it is also helpful to use the alias command that allows you to specify a keyword for frequently used commands or mistakes.

~Move to the user's home directory.
!!Repeat the line last entered at the shell. See history command for previous commands.
!$Repeat the last argument for the command last used. See history command for previous commands.
CTRL + LClear the terminal
resetReset the terminal if terminal screen is not displaying correctly.
shutdown -h nowRemotely or locally shut the system down.

No comments:

Post a Comment