There are many control key combinations (where you hold down the Ctrl key and press another key) that you will find useful both when using the shell and navigating text. These are listed in the table below.
Ctrl- | Function |
---|---|
a | Home - move cursor to the beginning of the line |
c |
Cancel - abort |
d |
End of File - used to quit some programs cleanly |
e |
End - move cursor to the end of the line |
h |
Backspace |
k |
Delete from cursor to the end of the line |
q |
Start Transmitting - unfreezes output from the terminal |
r |
Reverse intelligent search - find the most recent match from the command history (works in bash and Milliways) |
s |
Stop Transmitting - freezes output from the terminal |
w |
Delete word at cursor |
z |
Suspend - stop the current job and return to the shell |
\ |
Quit - quit a program (for example, if Ctrl-c doesn't work) |