Lessons
12Work faster
0 of 8 tasks

Lesson 12 · about 12 min · 8 tasks

Work faster

Reuse what you’ve typed, make your own shortcuts, and understand how the shell finds commands.

step 1 of 7

Everything you’ve typed

The shell remembers every command. You already know ↑ steps back through them one at a time. history lists them all, numbered:

$ history
    1  ls
    2  cat notes.txt
    3  history

Your turn, in the terminal

  • Run a couple of commands, then list your history
mapfolders appear as you explore
/ …
home/ …
you/◂ you are here
nowRun a couple of commands, then list your history
terminal
Practice terminal. Nothing you do here touches your real computer.
Type help to see what it understands.
you@terminal-mastery:~$