We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

Navigate History

You'll often want to re-run a command. You could just type it out again, but assuming you don't have the WPM of ThePrimeagen, that's a pain.

Arrow Keys

You can use the and arrows to quickly cycle through your command history.

Pressing the key walks backward through the commands you've run, one at a time. Once you've gone too far back, the key walks you forward again toward your most recent command. It's a huge time-saver: instead of retyping a long command, you just arrow up to it and press Enter.

Clear

If your terminal is feeling cluttered with text, you can clear it with the clear command, or by pressing Ctrl+L.

This won't delete your history, it will just clear the screen.