In computing, a relative path is a path relative to the current working directory.
Here is an example using a Unix / Linux file system:
Your current working directory is:
You want to change your current working directory to:
At that moment, the relative path for the directory you want is:
and the absolute path for the directory you want is
Because bobapples is the relative path for the directory you want, you may type the following at the CLI to change your current working directory to bobapples:
Two dots are used for moving up in the hierarchy, to indicate the parent directory.
Example /users/mark/
/users/mark/bobapples
bobapples
/users/mark/bobapples
cd bobapples