Relative vs. Absolute Path in Linux: What Is the Difference
Absolute and relative path names are two ways to specify the virtual address of a directory or file on Linux. But what's the difference between these two path types, and which one should you use in your commands? Let's find out.
An absolute path always starts from the root directory and ends at the actual directory or file you want to point to. While using absolute path expression, you need to type all the sub-directory names present inside the hierarchy that lead up to the final location.