Bash shortcuts


Cursor moving

  1. End of line: Ctrl + e.
  2. Beginning of line: Ctrl + a.
  3. Move forward one word: Alt + f.
  4. Move back one word: Alt + b.

Deleting

  1. Everything before the cursor: Ctrl + u.
  2. Everything after the cursor: Ctrl + k.
  3. Delete word before the cursor: Ctrl + w.
  4. Delete word after the cursor: Alt + d.
Posted on September 04, 2018 01:57 PM by Subhash Chandran
bash mac