Bash - Keyboard Shortcuts - Cursor


Move the cursor around when typing commands.

  • Ctrl + a: Go to the beginning of the line
  • Ctrl + e: Go to the end the of the line
  • Alt + b: Go back one word
  • Alt + f: Go forward one word
  • Ctrl + xx: Move between the beginning of the line and the current position of the cursor