Command Editing Shortcuts
|
Go to the start/end of the command line |
|
Delete from cursor to the start/end of the command line |
|
Delete from cursor to start/end of word (whole word if at the boundary) |
|
Paste word or text that was cut using one of the deletion shortcuts (such as the one above) after the cursor |
|
Move between start of command line and current cursor position (and back again) |
|
Move backward/forward one word (or go to start of word the cursor is currently on) |
|
Capitalize to end of word starting at cursor (whole word if cursor is at the beginning of word) |
|
Make uppercase from cursor to end of word |
|
Make lowercase from cursor to end of word |
|
Swap current word with previous |
|
Move forward/backward one character |
|
Delete character after/before under cursor |
|
Swap character under cursor with the previous one |
Command Recall Shortcuts
|
Search the history backwards |
|
End the search at current history entry |
|
Escape from history searching mode |
|
Previous command in history (i.e., walk back through the command history) |
|
Next command in history (i.e., walk forward through the command history) |
|
Undo last command |
|
Use the last word of the previous command |
Command Control Shortcuts
|
Clear the screen |
|
Stops the output to the screen (for long running verbose command) |
|
Allow output to the screen (if previously stopped using command above) |
|
Terminate the command |
|
Suspend/stop the command |
Bash Bang Shortcuts
|
Run last command |
|
Run the most recent command that starts with |
|
Print out the command that |
|
The last word of the previous command (same as |
|
Print out the word that |
|
The previous command except for the first word (e.g., if you type |
|
Print out what |