32 / 102
Path to a File
Every directory always contains two special files:
.
- Current directory
..
- Parent directory (of the current directory).
Absolute Path to a File
/home/user/directory/file.txt
Relative Path to a File
Relative to the current directory.
./directory/file.txt
is the same as
directory/file.txt
or
../user/directory/file.txt
when the current directory is
/home/user/
.