Terminal-shortcut
- Useful Terminal shortcuts.
- Summarized some useful
Terminal shortcuts
:-
Shortcut Description
Option | Description |
---|---|
Ctrl + a | Move cursor to start of line |
Ctrl + e | Move cursor to end of line |
Alt+Left / Alt+b | Move back one word |
Alt+Right / Alt+f | Move forward one word |
Ctrl+h | Delete character before cursor |
Ctrl+d (Backspace) | Delete character after cursor |
Ctrl+w | Delete word before cursor |
Alt+d | Delete word after the cursor |
Ctrl+u | Delete everything before the cursor |
Ctrl+k | Delete everything after the cursor |
Ctrl+c | Cancel the command |
Ctrl+y | Paste the last deleted command |
Ctrl+r | Search command in history - type search term |
Ctrl+g | Cancel the search and restore original line |
Ctrl+j | End the search and selecet current entry |
Ctrl+l | Clears the terminal like clear command |
Ctrl+p (Up) | previous command from the History |
Ctrl+n (Down) | Next command from the History |
Ctrl+b (Left) | Move back one character |
Ctrl+f (Right) | Move forward one character |