Bash Shortcuts Quick Reference
Move to the start of the line.
Move to the end of the line.
Move back one character.
Move back one word.
Move forward one character.
Move forward one word.
Where x is any character, moves the cursor forward to the next occurance of x.
Where x is any character, moves the cursor backwards to the previous occurance of x.
Delete from the cursor to the beginning of the line.
Delete from the cursor to the end of the line.
Delete from the cursor to the start of the word.
Delete previous word (may not work, instead try Esc followed by Backspace)
Pastes text from the clipboard.
Clear the screen leaving the current line at the top of the screen.
Undo the last changes. Ctrl-_ does the same
Undo all changes to the line.
Expand command line.
Incremental reverse search of history.
Non-incremental reverse search of history.
Execute last command in history
Execute last command in history beginning with abc
Print last command in history beginning with abc
Execute nth command in history
Last argument of last command
First argument of last command
Replace first occurance of abc with xyz in last command and execute it
Monday, October 1, 2012
Bash Terminal shortcuts
Posted by Rahul at 10:32 AM
Subscribe to: Post Comments (Atom)
Post a Comment