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
1:521Inside a computer
The CPU is the brain, the RAM is the desk and the disk is the filing cabinet: what each part does and how they work together.
2:182On and off: bits and bytes
A bit is one on/off switch, a byte is eight bits, and binary is counting with them. How ASCII turns letters and everything else into 0s and 1s.
1:383What an operating system does
The OS is the manager of the computer: it shares the CPU and RAM between apps, organises files on the disk and talks to your devices.