Shell snippets

shell
cli
unix
updated: 04/12/2026
created: 04/06/2026
  • Shell Tricks That Actually Make Life Easier - The “Works (Almost) Everywhere” Club:
    • CTRL + W
      delete the word before the cursor
    • CTRL + U
      cut everything from the cursor to the beginning of the line
    • CTRL + Y
      to paste ("yank") contents into prompt
    • CTRL + A
      jump to beginning of line
    • CTRL + E
      jump to end of line
    • ALT + B
      move backward one word
    • ALT + F
      move forward one word