Join egghead, unlock knowledge.

Want more egghead?

This lesson is for members. Join us? Get access to all 3,000+ tutorials + a community with expert developers around the world.

Unlock This Lesson
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.


    Use Bash Keyboard Shortcuts


    Bash keyboard shortcuts make it faster and easier to get things done at the terminal. In this lesson we'll look at the following shortcuts:

    • Ctrl+A - go to the beginning of a line
    • Ctrl+E- go to the end of a line
    • Ctrl+K - clears line up to the cursor
    • Ctrl+W - delete last word
    • Ctrl+L - clear the screen (equivalent of the clear command)

    Note: these shortcuts work on Terminal, iTerm 2, and Hyper. If you are using an alternative terminal, they may not work.