Thursday, February 19, 2015

Console Keyboard Shortcuts

I use to forget some keyboard shortcuts working on the UNIX console or Mac OS X Terminal. So, I create this cheat sheet to remember them and I hope can be useful for you too.

KeyUsed for
Ctrl PSame as Up Arrow
Ctrl NSame as Down Arrow
Ctrl BSame as Left Arrow
Ctrl FSame as Right Arrow
Ctrl MSame as Enter
Ctrl AGo to Beginning of the line
Ctrl EGo to End of the line
Ctrl WDelete previous word
Alt LLowercase the word from where the cursor is to the end of the word
Alt UUppercase the word from where the cursor is to the end of the word
Alt CCapitalize letter where the cursor is and move the cursor to the end of the word
Ctrl TTranspose/Switch the letter where the cursor is by the the previous letter
Alt TTranspose/Switch the word where the cursor is by the the previous word
Ctrl KCut from the cursor to the end of line
Alt DCut from the cursor to the end of the word
Ctrl UCut from the cursor to the beginning of line
Alt BackspaceCut from the cursor to the beginning of the word
Ctrl YPaste what was cut
Ctrl RReverse search. Search in previous commands.
Ctrl LClean screen
Post a Comment