...

/

Useful Shortcuts and Commands

Useful Shortcuts and Commands

Learn a few of the useful shortcuts for the CLI.

We’ve already learned that typing cd returns us to our home directory. This is just one of the many shortcuts available on the command line.

Command-line shortcuts

First, if we press the “Up” arrow key on our keyboard, the previous command we issued will appear on the command line. Press “Enter” to execute it again. Or press “Up” again to see the command we ...