Profile picture
Sidharth R
  • Home
  • Posts
  • Journal
  • Home
  • Posts
  • Journal
  • Search

Shortcuts to Navigate in a Terminal

Updated: 14 Sep 2023 ⚬ Page views: 140

Like in any other text based program, linux terminals also support usage of arrow keys, backspace to navigate and edit text. But there are some shortcuts which can replace multiple use of arrow keys and simplify user experience. Following table lists some shortcuts.

ShortcutAction
Ctrl+AJump to the beginning of the command line.
Ctrl+EJump to the end of the command line.
Ctrl+UClear from the cursor to the beginning of the command line.
Ctrl+KClear from the cursor to the end of the command line.
Ctrl+LeftArrowJump to the beginning of the previous word on the command line.
Ctrl+RightArrowJump to the end of the next word on the command line.
Ctrl+RSearch the history list of commands for a pattern.

More such shortcuts can be found in the bash man page.

Nerdsid.com

Links
  • Home
  • Contact
  • About
  • Posts
  • Journal
  • Quotes
© 2025 Sidharth R.
All content on this website is licensed under CC BY-NC-SA 4.0.