Navigating the File System
Get up and running with the command line by navigating directories and files.
StartKey Concepts
Review core concepts you need to learn to master this subject
pwd
Print Working Directory
mkdir
Make Directory
ls
List
cd
Change Directory
Filesystem Structure
touch
Create New File
The Command Line
Helper Commands
pwd
Print Working Directory
pwd
Print Working Directory
$ pwd
/Users/sonny/Downloads
The shell command pwd
displays the file path from the root directory to the current working directory.
Navigation
Lesson 1 of 1
- 1The command line is a text interface for your computer. It’s a program that takes in commands and passes them on to the computer’s operating system to run. From the command line, you can navig…
- 2A filesystem organizes a computer’s files and directories into a tree structure: 1. The first directory in the filesystem is the root directory. It is the parent of all other directories and fil…
- 9Now that we’ve covered the basics of navigating your filesystem from the command line, let’s look at some helpful commands that will make using it easier! clear is used to clear your terminal, wh…
What you'll create
Portfolio projects that showcase your new skills
How you'll master it
Stress-test your knowledge with quizzes that help commit syntax to memory