Absolute path is a complete path that starts from
/ (root directory).
Relative path is a path relative to another directory, usually the current working directory that you are at.
Say, your current working directory is
/home/karan, then the absolute path for the
And relative path is
../john/Desktop/sandbox (relative to
. (dot) represents the current working directory.
.. represents parent of the current directory.
So .. indicates that you should first go up one directory level, then come down through the
john directory to