Control characters for terminal navigation and control.
Command | Action | Description |
|---|---|---|
| Delete a word | This not only deletes a word, but it will also intelligently delete the last path element |
| Delete to start of line | Delete from the cursor to the start of the line |
| Delete to end of line | Delete from the cursor to the end of the line |
| Paste | Yank the cut buffer and place it at the insertion point |
| Start of line | Move the cursor to the start of the line |
| End of line | Move the cursor to the end of the line |
| SIGINT | I don't have to explain this one, surely |
| EOF | End of file, close the stream (logout) |
| Clear | Clears the terminal, does not wipe your current prompt if you are in the middle of editing |
CTRL-r | Reverse search | Search backwards through your history to find a matching command. Press |
| Incremental undo | Undo the last thing that happened to this prompt |
| Splat expand files | For instance, type |
| Edit the current command line in | Helpful for navigating very large command lines |
| Suspend the process | Then you can |
| Insert last parameter from previous command | Immediately insert the last parameter used |
| Repeat previous first parameter | When you hit enter, the first parameter of the previous command is inserted |
| Repeat the last parameter | When you hit enter, the last parameter of the previous command is inserted (the non-interactive version of |
| Repeat the last command line | The whole line is inserted when you hit return |
| SIGQUIT | Forcefully kill this process |