photo credit: Keyboard green via photopin (license)

7 handy shortcuts for the command-line


I use the command-line a lot. Except from the weekends I’m working on the command-line on a daily base. Today I dove into some shortcuts for the command-line and I summed up 7 of the most handy shortcuts here:

  • Ctrl-A: To move your cursor to the beginning of the line
  • Ctrl-E: To move your cursor to the end off the line
  • Ctrl-U: To remove everything before the cursor
  • Ctrl-K: To remove everything after the cursor
  • Ctrl-W: To remove the last word before the cursor
  • Ctrl-D: To remove one character after the cursor (reverse backspace)

And last but not least:

  • Ctrl-L: To clear your screen.

How would you rate this article?

Leave a Reply