Table of Contents
1. Cursor Movement
| Shortcut | Description |
|---|---|
Ctrl + A |
Move cursor to beginning of line |
Ctrl + E |
Move cursor to end of line |
Ctrl + F |
Move cursor forward one character |
Ctrl + B |
Move cursor backward one character |
Option + → |
Move cursor forward one word |
Option + ← |
Move cursor backward one word |
2. Editing
| Shortcut | Description |
|---|---|
Ctrl + D |
Delete character under the cursor |
Ctrl + H |
Delete character before the cursor (Backspace) |
Ctrl + K |
Cut the line after the cursor |
Ctrl + U |
Cut the line before the cursor |
Ctrl + W |
Cut the word before the cursor |
Ctrl + Y |
Paste the last cut text |
3. History
| Shortcut | Description |
|---|---|
Ctrl + R |
Search command history |
Ctrl + P |
Previous command in history |
Ctrl + N |
Next command in history |
↑ |
Previous command in history |
↓ |
Next command in history |
4. Process Control
| Shortcut | Description |
|---|---|
Ctrl + C |
Interrupt/Kill current process |
Ctrl + Z |
Suspend current process |
Ctrl + D |
Exit the current shell |
5. Miscellaneous
| Shortcut | Description |
|---|---|
Tab |
Auto-complete files and folder names |
Ctrl + L |
Clear the screen |
Ctrl + S |
Stop output to the screen |
Ctrl + Q |
Resume output to the screen |
Option + Click |
Move cursor to clicked location |
Provide Feedback For This Article
We take your feedback seriously and use it to improve our content. Thank you for helping us serve you better!
😊 Thanks for your time, your feedback has been registered!
Comments & Discussion
Facing issues? Have questions? Post them here! We're happy to help!