Think of Linux like this:
/
ROOT DIRECTORY
|
┌────────────────┼────────────────┐
| | |
bin etc home
| | |
commands configuration users' files
| |
┌────┴────┐ ┌───┴───┐
ssh nginx salfia user2
|
Documents
|
project
|
app.java
The / at the very top is the root of the entire filesystem.
So / is essentially:
"Start from the absolute top of the Linux filesystem."
It's called the root directory.
/ = filesystem root.
/root = home directory of the root user.
Because Linux uses / as the path separator.
For example:
/home/salfia/Documents/resume.pdf
The / separates each level:
/
└── home
└── salfia
└── Documents
└── resume.pdf
An absolute path starts from /.
/home/salfia/Documents/resume.pdf
It tells Linux exactly where to start.
A relative path starts from your current working directory.