← Lessons/Navigate the Filesystem

Find your way around the filesystem

Every infrastructure job (every server, every container, every CI runner) eventually puts you at a shell prompt with no graphical file browser in sight. Before you can automate anything, you need to move around a Linux filesystem with confidence: see what's there, look inside files, and notice the things that are hidden.

Three short steps, three commands your hands will reach for thousands of times: list a directory, reveal its hidden files, and read one.

linuxclifilesystem

Interview prep

Filesystem basics come up in every infra screen.

How do you list files including hidden ones, with details?

ls -la — -l is the long format (permissions, owner, size, mtime) and -a includes dotfiles like .env and .gitignore.