O'Reilly logo

UNIX System Administration Handbook, Third Edition by Trent R. Hein, Evi Nemeth, Garth Snyder, Scott Seebass

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

5.1 PATHNAMES

The filesystem is presented as a single hierarchy that starts at the directory / and continues downward through an arbitrary number of subdirectories. / is also called the root directory.

The list of directories that must be traversed to locate a particular file, together with its filename, form a “pathname.” Pathnames can be either absolute (/tmp/foo) or relative (book3/filesystem). Relative pathnames are interpreted starting at the current directory. You might be accustomed to thinking of the current directory as a feature of the shell, but every process has a current directory.

The terms file, filename, pathname, and path are more or less interchangeable (or at least, we use them interchangeably in this book). Filename and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required