星期三, 十月 22, 2008

linux 命令行快捷键


Ctrl + A # Go to the beginning of the line you are currently typing on
Ctrl + E # Go to the end of the line you are currently typing on
Ctrl + L # Clears the Screen, similar to the clear command
Ctrl + U # Clears the line before the cursor position. If you are at the end of the line, clears the entire line.
Ctrl + H # Same as backspace
Ctrl + C # Kill whatever you are running
Ctrl + Z # Puts whatever you are running into a suspended background process. fg restores it.
Ctrl + W # Delete the word before the cursor
Ctrl + K # Clear the line after the cursor
Ctrl + T # Swap the last two characters before the cursor
Tab # Auto
Ctrl + Y # to paste it (as in delete and copy) all text in front of the cursor
Ctrl + b # Move back a character
Ctrl + f # Move forward a character
Alt + F # Move cursor forward one word on the current line
Alt + B # Move cursor backward one word on the current line
Alt + c # Capitalize the word
Alt + d # Delete word
Alt + l # Make word lowercase
Alt + u # Make word uppercase
Alt + backspace # Delete backward from cursor

0 comments: