|
Ctrl + k
|
Deletes all characters ahead of cursor
|
|
Ctrl + w, Alt + Backspace
|
Deletes word behind cursor *
|
|
Ctrl + u
|
Deletes all characters behind cursor
|
|
Ctrl + l
|
Clears the screen
|
|
Ctrl + c
|
Kill process
|
|
Ctrl + z
|
Send current process to background
|
|
fg
|
Recall background process
|
|
Ctrl + d
|
Log out of current terminal
|
|
Ctrl + a, Home
|
Move to beginning of line
|
|
Ctrl + b, Left Arrow
|
Move cursor left
|
|
Ctrl + e, End
|
Move to end of line
|
|
Ctrl + f, Right Arrow
|
Move cursor right
|
|
Ctrl + p, Up Arrow
|
Previous command in history
|
|
Ctrl + n, Down Arrow
|
Next command in history
|
|
Ctrl + r
|
Search command history
|
|
history
|
Print the command history
|
Ok, this doesn't seem to be an xterm cheatsheet at all, it is more of a bash with emacs line editing mode on (instead of vi, which would be a bunch of different key combinations). While the Processes section is not bash/emacs specific it isn't specific to xterm either, it applies to any shell with job control and works on the console, outside of X too (just like the rest of these). Perhaps an actual xterm cheatsheet should mention xterm-specific escape codes or mouse actions, not bash / sh keys.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.