Ramnathvg’s Weblog

Just another WordPress.com weblog

xterm keyboard shortcuts

Ref http://en.wikipedia.org/wiki/Table_of_keyboard_shortcuts

Command line shortcuts

Below is a list of common keyboard shortcuts that are used in a command line environment.

Action Microsoft Windows

(cmd.exe)

Microsoft Windows

(Windows PowerShell)

Unix/Linux/Mac OS X

(bash)

Unix/Linux/Mac OS X

(POSIX shell)

Scroll through History of typed commands / / / ESC K/ESC J
Signal end-of-file Ctrl+Z Ctrl+D
Abort current command/typing Ctrl+C Ctrl+C Ctrl+C Ctrl+C
Erase word to the left Ctrl+W
Erase word to the right Alt+D
Erase line to the left Esc Ctrl+U
Erase line to the right Esc Ctrl+End Ctrl+K
Move one word to the left (backward) Ctrl+ Ctrl+ Alt+B
Move one word to the right (forward) Ctrl+ Ctrl+ Alt+F
Move to beginning of line Home Home Ctrl+A
Move to end of line End End Ctrl+E
Reverse search of history F7 F8 Ctrl+R
Send current job to the background Ctrl+Z
Insert the next character typed verbatim Ctrl+V
Autocomplete command/file name Tab ⇆ (if enabled eg. via TweakUI) Tab ⇆ Tab ⇆ (usually twice) Esc (usually twice)

June 25, 2009 - Posted by ramnathvg | UNIX | | No Comments Yet

No comments yet.

Leave a comment