Navigating the Filesystem for DevOps Engineers
Navigating the filesystem is the skill of finding your way around Linux directories from the command line. It uses pwd, cd and ls, absolute and relative paths, the single directory tree rooted at slash, and knowledge of standard locations such as /etc for configuration, /var for logs and /home for user files.
Stage: Linux · Part of the DevOps Engineer roadmap · Last reviewed 19 November 2026
What to learn in Navigating the Filesystem
- Move between directories using absolute and relative paths
- List files with ls flags for hidden files and long format
- Explain the purpose of /etc, /var, /usr, /tmp and /home
- Use tab completion and shell history to move quickly
- Use find and locate to search for files by name
- Read file metadata with stat and ls -l
Navigating the Filesystem interview questions
What is the difference between an absolute and a relative path?
An absolute path starts at the root slash, such as /var/log/syslog, and means the same place from anywhere. A relative path starts from the current directory, such as ../logs, so its meaning depends on where you are.
Where do logs and configuration usually live on Linux?
System configuration is mostly under /etc, and logs are normally in /var/log, though modern systems also use the systemd journal. User data lives in /home, temporary files in /tmp and installed programs in /usr and /opt.
Where Navigating the Filesystem fits in the DevOps Engineer roadmap
Navigating the Filesystem belongs to the Linux stage (beginner level). Operating system fundamentals: the Linux course.
Other units in this stage
- Start Here (free)
- Working with Files
- Text Editors
- Users, Groups and Permissions
- Text Processing and Pipes
- Processes and Jobs
- Package Management
- The Shell Environment
- Bash Scripting
- Archives, Storage and Filesystems
- Networking and SSH
- Services, Boot and Logs
- Security Basics
- Real Server Admin
- Linux for DevOps
- Capstones and Placement Prep
Back to the full DevOps Engineer roadmap