
In plain words
A path is the address of a file or folder on a computer. On Linux and macOS it looks like /home/amina/projects/site/index.html. Each / steps one folder deeper.
| Kind | Example | Starts from |
|---|---|---|
| Absolute | /var/www/site |
The very top of the computer (/) |
| Relative | site/index.html |
The folder you are in right now |
Shortcuts: . means "this folder", .. means "the folder above", and ~ means "my home folder".
See Linux files and permissions.

Found this useful?
Every lesson stays free. Tap the thumbs up so we know what works, or say thanks with a soda or a coffee: it pays for hosting and new lessons.


