Here are some useful Bash shortcuts:
-
Command History:
↑(Up Arrow): Recall the last command.↓(Down Arrow): Move forward in the command history.
-
Tab Completion:
- Press
Tabwhile typing a command or filename to auto-complete.
- Press
-
Clear Screen:
Ctrl + L: Clear the terminal screen.
-
Interrupt Command:
Ctrl + C: Stop a running command.
-
Search Command History:
Ctrl + R: Start a reverse search through command history.
-
Move Cursor:
Ctrl + A: Move to the beginning of the line.Ctrl + E: Move to the end of the line.
-
Delete Words:
Ctrl + W: Delete the word before the cursor.Ctrl + U: Delete from the cursor to the beginning of the line.
These shortcuts can significantly enhance your efficiency in the command line. If you need more information or specific examples, let me know!
