What is a “directory”?
A. The Concept of a “Directory”
In a strict technical sense, directories act as a table of contents. If you could look inside of a directory file, you would see two columns of information — file inode numbers and file names.
Directories are very similar to both file folders and drawers within file cabinets. For instance, for a client that you do business with, you may have a file folder named “Acme, Inc.”. This folder may contain a number of documents that show your relationship with Acme – invoices, bills paid, letters, etc.
On the UNIX system, you might create a corresponding directory that contains all of your files for “Acme”. Again, this name can include letters, spreadsheets, and other documents.
|Directory||Conceptually, directories are like drawers and file folders within a file cabinet.|
What happens …