Here are some useful terminal shortcuts that can enhance your efficiency when working in the terminal:
-
Ctrl + C: Cancel the current command or process.
-
Ctrl + Z: Suspend the current process and put it in the background.
-
Ctrl + D: Log out of the current shell session or send an EOF (End of File) signal.
-
Ctrl + L: Clear the terminal screen (similar to the
clearcommand). -
Ctrl + A: Move the cursor to the beginning of the line.
-
Ctrl + E: Move the cursor to the end of the line.
-
Ctrl + U: Delete the line from the cursor to the beginning.
-
Ctrl + K: Delete the line from the cursor to the end.
-
Ctrl + R: Search through the command history interactively.
-
Tab: Auto-complete file and directory names.
-
Up Arrow / Down Arrow: Navigate through the command history.
-
Ctrl + Shift + T: Open a new terminal tab (in some terminal emulators).
These shortcuts can significantly speed up your workflow and make using the terminal more efficient.
