

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 5
click for more info
Not enough gems
Cost: 6 gems
1: What Is a Filesystem?
incomplete
2: Filepaths
incomplete
3: Parent Directories
incomplete
4: Absolute vs. Relative Paths
incomplete
5: Files
incomplete
6: Tab Completion
incomplete
7: head and tail
incomplete
8: More and Less
incomplete
9: Touch
incomplete
10: Directories
incomplete
11: Move
incomplete
12: Remove
incomplete
13: Copy
incomplete
14: Home
incomplete
15: Grep
incomplete
16: grep Multiple Files
incomplete
17: Find
incomplete
Back
ctrl+,
Next
ctrl+.
This lesson's interactive features are locked, please to keep using them
The output of pwd is a filepath. A filepath is a string that describes the location of a file or directory on your computer. Here on Boot.dev, your home directory is always /home/user.
However, on your machine (we'll get to it later) it should look something like this:
/home/wagslane
/) represents the root directory. It's the tippy-top of the filesystem tree.home) is the name of a directory inside the root directory.wagslane) is the name of a directory inside the home directory.So this path represents a directory 2 levels down from the root directory:
root
└── home
└── wagslane
/Users/wagslane
/) represents the root directory. It's the tippy-top of the filesystem tree.Users) is the name of a directory inside the root directory.wagslane) is the name of a directory inside the Users directory.So this path represents a directory 2 levels down from the root directory:
root
└── Users
└── wagslane
Click to play video
Time to start digging for evidence. The ls ("list") command prints the contents of a directory. You can pass it a directory path as an argument to list that directory without moving into it.
The worldbanc project you'll use throughout this course is already on this machine, waiting in your home directory.
Submit the shell checks.