CTRL
Key bound
_____________
CTRL +
-Jump to the start of the line
CTRL + B
-Move back a char
CTRL + c
-Terminate the command
CTRL + d
-Delete from under the cursor
CTRL + E
-Jump to the end of the line
CTRL + F
-Move forward a char
CTRL + k
-Delete to EOL
CTRL + L
-Clear the screen
CTRL + R
-Search the history backwards
CTRL + R
-Search the history backwards with multi occurrence
CTRL + u
-Delete backward from cursor
CTRL + xx
-Move Between EoL and current cursor position
CTRL + x @
-Show possible hostname
Completions
CTRL + z
-Suspend/stop the command
____________ Alt
Key bound
___________
Alt + <
-Move to the first line in
History
Alt +>
-Move to the last line in the history
Alt +?
-Show current Completion list
Alt + *
-Insert all possible completions
Alt +/
-Attempt to complete filename
Alt +.
-Yank last argument to previous command
Alt + B
-Move backward
Alt + c
-Capitalize the word
Alt + d
-Delete word
Alt + F
-Move forward
Alt + L
-Make word lowercase
Alt + n
-Search the history forwards non-incremental
Alt + P
-Search the history backwards non-incremental
Alt + R
-Recall command
Alt + T
-Move words around
Alt + u
-Make word uppercase
Alt + back-space
-Delete backward from cursor
---------------- More special keybindings
-------------------
Here "2 t
"Means press tab
Twice
$2 t
-All available commands (common)
$ (String) 2 t
-All available commands starting with (string)
$/2 t
-Entire directory
Structure including hidden
One
$2 t
-Only sub dirs inside including hidden one
$ * 2 t
-Only sub dirs inside without hidden one
$ ~ 2 t
-All present users on system from "/etc/passwd
"
$2 t
-All sys
Variables
$ @ 2 t
-Entries from "/etc/hosts
"
$ = 2 t
-Output like ls
Or dir
Original: http://linuxhelp.blogspot.com/2005/08/bash-shell-shortcuts.html