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!

Interacting with the Filesystem

Step 1 of 3


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 /