📁 Filesystem & Navigation

Filesystem & Navigation: The Linux filesystem is a single upside-down tree rooted at `/` — every file, every device, every mounted volume hangs from that one root, with no `C:` o

The Linux filesystem is a single upside-down tree rooted at `/` — every file, every device, every mounted volume hangs from that one root, with no `C:` or `D:` drive letters anywhere. But here is the question that trips up Windows and Java developers alike: if there are no drive letters, how does Linux know where your test reports actually are? The answer is that every location is described by how many branches you traverse from the root — `/home/qa/projects/tests/` is an unambiguous address no matter which directory you happen to be sitting in right now (absolute path), while `../logs` means "go up one level from wherever I am standing" (relative path) and is therefore context-dependent. In Java terms, an absolute path is like a fully-qualified class name (`com.myapp.service.UserService`) — it resolves the same everywhere — while a relative path is like using just `UserService` inside the same package, which only works if the package context is what you expect. For QA work in CI, this distinction is load-bearing: a bash script that uses `cd reports && tar -czf archive.tar.gz .` works perfectly when run from the project root but silently archives the wrong directory when Jenkins triggers it from `/var/jenkins/workspace/job-name/` instead — an absolute path would have caught that immediately.

The Linux Filesystem Tree — Key Directories

Core Navigation Commands

linux-terminal-basics

Filesystem Navigation Simulation

Watch the pwd → ls → cd → cat → grep flow live.

linux-interactive-terminal

Interactive Linux Terminal

Type commands yourself and watch the virtual filesystem update live.

Absolute vs Relative Paths

Find out where you are, look around, move

🎬 The Journey of a Path: Absolute vs Relative

cwd (where you stand)

Linux has a SINGLE upside-down tree: every file, every disk, every mount branches from the `/` root — there is no such thing as `C:\` or `D:\`.