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 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.