A relative path is the path to a file or a directory that starts from the current location in the hierarchy of the filesystem. For example, in UNIX-based systems, the
/examples/file.txt path refers to the
file.txt located in the examples subdirectory of the current directory. Relative paths are often used for efficiency and the ease of maintenance.
See also What Is Absolute Path?