Kolam Ayer MakersLinux Foundations

Path

Core Idea

A path is a text name that tells Linux how to find a file, directory, or special filesystem object.

Path Forms

Commands To Try

pwd
ls .
ls ..
ls ~
ls /etc/os-release

How The Shell Helps

The shell expands ~ before the command runs. The command receives the expanded path. Tab completion asks the shell to complete a path from the filesystem.

Common Confusions

Proof Check

Run pwd, then explain whether src/pages/index.md would point at your site source from that location.

Docs Pointers