Friday, May 5, 2017

Bash Keyboard Shortcuts


Alt + bmove backward one word (or go to start of word the cursor is currently on)
Alt + ccapitalize to end of word starting at cursor (whole word if cursor is at the beginning of word)
Alt + ddelete to end of word starting at cursor (whole word if cursor is at the beginning of word)
Alt + fmove forward one word (or go to end of word the cursor is currently on)
Alt + lmake lowercase from cursor to end of word
Alt + tswap current word with previous
Alt + umake uppercase from cursor to end of word
Ctrl + ago to the start of the command line
Ctrl + bmove backward one character
Ctrl + cterminate the command
Ctrl + ddelete character under the cursor
Ctrl + ego to the end of the command line
Ctrl + fmove forward one character
Ctrl + gescape from history searching mode
Ctrl + hdelete character before the cursor
Ctrl + kdelete from cursor to the end of the command line
Ctrl + lclear the screen
Ctrl + qallow output to the screen (if previously stopped using command above)
Ctrl + rsearch the history backwards
Ctrl + sstops the output to the screen (for long running verbose command)
Ctrl + tswap character under cursor with the previous one
Ctrl + udelete from cursor to the start of the command line
Ctrl + wdelete from cursor to start of word (i.e. delete backwards one word)
Ctrl + xxmove between start of command line and current cursor position (and back again)
Ctrl + ypaste word or text that was cut using one of the deletion shortcuts (such as the one above) after the cursor
Ctrl + zsuspen­d/stop the command

No comments:

Post a Comment