Directories

Some of our first experiences with a computer involve the organizing of files. Directories are files that provide the capability to catalog files in recognizable logical locations. Rather than having to hunt for an accounting file whose name you have forgotten, you can look in the accounting directory. If you have been lax in your file organization, though, you can still end up hunting. The point is that creating several directories does NOT organize your files. Putting your files in the appropriate directories DOES organize your files.

As I pointed out earlier, directories are files. But they are special files with a special format. They contain a mix of ASCII and binary information. The ASCII information represents a filename, and ...

Get Korn Shell Programming by Example 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.