Contents
To write the absolute path of this directory, we have to start writing the path from the directory root. The directory root is written as / (forward slash). After / (root directory), we have to write the name of the directory in which user’s home directory is located.
How do you set an absolute path in Linux?
To write an absolute path-name:
- Start at the root directory ( / ) and work down.
- Write a slash ( / ) after every directory name (last one is optional)
7 февр. 2018 г.
What is absolute path name in Linux?
What is an absolute path? An absolute path is defined as the specifying the location of a file or directory from the root directory(/). In other words we can say absolute path is a complete path from start of actual filesystem from / directory. Some examples of absolute path: /var/ftp/pub.