Filesystem Navigation

For most Linux distributions, when you start a shell session you are placed in your user home directory. Most often, you will need to break out of your home directory to get to other areas in the Linux system. This section describes how to do that using command line commands. Before that, though, is a short tour of just what the Linux filesystem looks like.

The Linux Filesystem

If you’re new to the Linux system, you may be confused by how it references files and directories, especially if you’re used to the way that the Microsoft Windows operating system does that. Before exploring the Linux system, it helps to have an understanding of how it’s laid out.

The first difference you’ll notice is that Linux does not use drive ...

Get Linux Fundamentals, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.