what is a directory pathname?
Answers
You can refer to any file in any directory on the system by using its pathname. A pathname is a string of characters that describes what directory the file is in, as well as the name of the file.
The pathname of a file in the current working directory is just the name of the file by itself. For example, when you first log in, the current working directory is your home directory. If you create a file called foo in that directory, you can refer to it simply as foo.
Files that are in a different directory than the current working directory can be referred to by three different methods:
An absolute pathname describes another directory in a way that does not depend on where you are.
A relative pathname describes some other directory's relocation relative to the current working directory.