Chapter 31. Moving Around in a Hurry

Getting Around the Filesystem

Using Relative and Absolute Pathnames

Everything in the Unix filesystem — files, directories, devices, named pipes, and so on — has two pathnames: absolute and relative. If you know how to find those names, you’ll know the best way to locate the file (or whatever) and use it. Even though pathnames are amazingly simple, they’re one of the biggest problems beginners have. Studying this article carefully can save you a lot of time and frustration. See Figure 31-1 for an illustration of the Unix filesystem. ...

Get Unix Power Tools, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.