What is an absolute pathname?
If a file is located in the root directory, its absolute pathname
is formed by prefixing a slash character (/) to the name of the file.
For example, a file named
klarn in the root directory
can be referred to as "
Suppose the root directory contains a subdirectory named
which in turn contains a file named
baz. You could refer
to this file as "
To form the absolute pathname of a file f:
For example, pathname
to a file named
mousaka, located in a directory
recipes, which is a subdirectory of directory
joe, which in turn is a subdirectory of directory
red, which is located in the root directory.
John Shipman, email@example.com
Last updated: 1995/12/04 19:39:34 UT