The Directory Tree

To understand the origin and advantages of the directory tree, let's consider a project that requires organization: writing a book. When you start out, it is easiest to put all the documents related to the book in one location. As you work on the book, you might find it hard to locate the material related to a particular chapter.

If you are writing the book with pen and paper, the easiest solution to this problem is to take all the pages related to the first chapter and put them into a folder labeled Chapter 1. As you write more chapters, you can put the material related to these chapters into separate folders. If you stick to this method, you will have many separate folders by the time you finish the book. You might put all ...

Get Sams Teach Yourself Shell Programming in 24 Hours, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.