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 | Unix/Linux/Mac OS X
(bash) |
Unix/Linux/Mac OS X |
|---|---|---|---|---|
| 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) |
No comments yet.
Leave a comment
-
Recent
-
Links
-
Archives
- August 2009 (1)
- June 2009 (3)
- April 2009 (1)
- December 2008 (1)
- February 2008 (4)
- January 2008 (1)
-
Categories
-
RSS
Entries RSS
Comments RSS