Author Topic: Unix and Linux shortcut keys  (Read 1948 times)

bbasujon

  • Administrator
  • VIP Member
  • *****
  • Posts: 1827
  • I want to show my performance at any where
    • View Profile
    • Higher Education
Unix and Linux shortcut keys
« on: September 04, 2012, 04:59:02 PM »
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 in. For example, if you typed 'mv file1 file2' this shortcut would delete file2.
CTRL + Z   Cancels current operation, moves back a directory or takes the current operation and moves it to the background. See bg command for additional information about 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.

~   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.
reset   Resets the terminal if terminal screen is not displaying correctly.
shutdown -h now   Remotely or locally shuts the system down.
Acquire the knowledge and share the knowledge so that knowing,learning then sharing - all are the collection