參考:http://community.linuxmint.com/tutorial/view/244
Keyboard Shortcuts
Enter
Run the command
Up ArrowShow the previous command
Ctrl + R
Allows you to type a part of the command you're looking for and finds it
Ctrl + Z
Stops the current command, resume with fg in the foreground or bg in the background
Ctrl + C
Halts the current command, cancel the current operation and/or start with a fresh new line
Ctrl + LClear the screen
command | less Allows the scrolling of the bash command window using Shift + Up Arrow and Shift + Down Arrow
!!Repeats the last command
command !$ Repeats the last argument of the previous command
Esc + . (a period)Insert the last argument of the previous command on the fly, which enables you to edit it before executing the command
Ctrl + A
Return to the start of the command you're typing
Ctrl + E
Go to the end of the command you're typing
Ctrl + U
Cut everything before the cursor to a special clipboard, erases the whole line
Ctrl + KCut everything after the cursor to a spe…