Skip to main content

Shortcuts

CTRL is a very commonly used key when on the command line. It's used for shortcuts and also to send very specific signals to bash. Let's start with some of the short cuts.

  • CTRL + A takes you to the beginning of the line
  • CTRL + E takes you to the end of the line
  • CTRL + K "yank" everything after the cursor
  • CTRL + U "yank" everything before the cursor
  • CTRL + Y "paste" (paste in quotes because it doesn't actually go into your system clipboard) everything you yanked
  • CTRL + L clear the screen
  • CTRL + R reverse search through history