Command | Description |
---|---|
ctrl + a | Move to the start of the line. |
ctrl + e | Move to the end of the line. |
ctrl + b | Move back one character. |
ctrl + f | Move forward one character. |
Ctrl-u | Delete from the cursor to the beginning of the line. |
Ctrl-k | Delete from the cursor to the end of the line. |
Ctrl-w | Delete from the cursor to the start of the word. |
Ctrl-y | Pastes text from the clipboard. |
Ctrl-l | Clear the screen leaving the current line at the top of the screen. |
!! | Execute last command in history. |
!n | Execute nth command in history. |
!$ | Last argument of last command. |
!^ | First argument of last command. |