The output of pwd is a filepath. A filepath is a string that describes the location of a file or directory on your computer. Yours 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. If you're on Windows, again, make sure you're in the Ubuntu (WSL) terminal.
If you run into an issue, see the troubleshooting tips below. We'll cover what these commands do later.
curl -L https://github.com/bootdotdev/worldbanc/archive/refs/heads/main.zip -o worldbanc.zip
unzip worldbanc.zip
rm worldbanc.zip
mv worldbanc-main worldbanc
sudo chown -R $(whoami) worldbanc
sudo chmod -R 755 worldbanc
You should now have a worldbanc directory in your current working directory. When learning terminal commands in this course, it's possible to make a mistake and ruin your version of the worldbanc repo. If that happens, just come back to this lesson and download worldbanc again.
ls
You should see a worldbanc directory listed.
cd worldbanc
If you're having issues with the download due to curl or unzip not being installed on Ubuntu/WSL, you can install them with the following commands:
sudo apt install unzip
sudo apt install curl
Certain Windows versions may not let you paste into the Command Line. See how to enable ctrl+shift+v.