Difficulty: Beginner
Estimated Time: 10 minutes

The Linux command line is a powerful and efficient user interface, although it can be a bit daunting. After this tutorial, you should be comfortable traversing the filesystem and reading files.

You're on your way to becoming a Linux guru!

Don’t stop now! The next scenario will only take about 10 minutes to complete.

Interacting with the Filesystem

Step 1 of 3

Traversal

When you enter the command line, your shell starts inside a directory. The directory you are in at any moment is called your current working directory. To view this directory. run pwd

Now, to see what files are in your current working directory, run ls

Finally, to change directories, you run cd <filename>. To demonstrate this, change to the root directory by running cd /