Your first terminal commands

Knowledge Videos

Short animated explainers, organised by subject.

Your first terminal commands

Talk to the computer by typing: pwd, ls, cd, cat and mkdir, and how to find your way around folders.

Transcript

The terminal is a way to talk to the computer by typing. You type a command, press Enter, and the computer answers.

The command p w d tells you where you are. It shows your current folder.

The command l s lists what is in that folder: files, and other folders.

The command c d moves you into another folder. Type c d, then dot dot, to go back up.

The command cat shows what is inside a file.

And the command make dir makes a new folder.

Remember: p w d shows where you are, l s lists what is here, c d moves, cat reads a file, and make dir makes a folder.

More in this series