Skip to content

2.1.3 Common Keyboard Shortcuts

Keyboard shortcuts make command-line work faster and more efficient.
Learning a few essential shortcuts greatly improves your terminal experience.


Frequently Used Shortcuts

Ctrl + C — Terminate a Running Command

Stops the currently running command immediately.
Useful when a command takes too long or behaves unexpectedly.


Ctrl + D — Exit or End Input

Signals the end of input or closes the current shell session.
Often used to log out of a terminal.


Tab — Command Auto-Completion

Automatically completes commands, file names, or paths.
Helps reduce typing errors and speeds up workflow.


↑ / ↓ — Command History Navigation

Allows you to scroll through previously executed commands.
Useful for repeating or modifying earlier commands.


Why Shortcuts Matter

Using shortcuts:

  • Reduces typing effort
  • Minimizes mistakes
  • Improves efficiency over time

These shortcuts are universal across most Linux systems.


📌 Tip:
Mastering shortcuts early will make every future command easier to use.