Finding your way | Master AI Automation in 4 hours Master AI Automation in 4 hours Course About Ayush Modules Sample chapter Toolbox The Microcap Minute Module 03: The Command Line / Chapter 2 Finding your way Watch first, then read.
Same lesson, your pace.
What you will learn - The folder tree: every computer's true shape - pwd , ls , cd , knowing where you are, seeing where you can go, moving there - Absolute vs relative paths The tree Your computer's files form a tree : one root (on Mac/Linux, / ; on Windows, C:\ ), branches called folders, leaves called files.
Finder and File Explorer draw this tree as pictures.
The terminal lets you walk it.
Wherever you are in the tree, that spot is your working directory , the room you're standing in.
Every command you run happens "here" unless you say otherwise.
Three commands that end getting lost forever 1.
pwd Print Working Directory.
On a Mac you might see /Users/ayush .
That slash-separated address is your exact position in the tree.
ls Lists the contents of the current room.
Add flags (dash-options that modify commands) for more detail: ls -l # long list: sizes, dates ls -a # all, including hidden files (dots matter!) 3.
cd Downloads # into the Downloads subfolder cd ..