By the end of this lesson you will use ten everyday commands to look around, move between folders, make, read, copy, rename and delete files, on Windows, Mac and Linux.
You need: a terminal open in your home folder (how) · Time: 9 minutes
Two commands answer the questions you'll ask most:
pwd(print working directory) shows the folder you are in. "Directory" is the old word for folder.ls(list) shows what is inside it. On Windows,dirdoes the same, andlsworks in PowerShell too.
Why?Before you run anything the AI suggests,
pwdandlstell you whether you are in the right project. Two seconds, many saved mistakes.
Log in free to read the rest of this lesson
Every lesson is free. A free account unlocks all of them and saves your progress.
Still to come in this lesson:
- Move around with cd
- Make folders and files
- Read, copy and rename
- Delete carefully
- Shortcuts that save typing
- Recap