Site home page
Get alerts when Linktionary is updated
Book updates and addendums
Get info about the Encyclopedia of Networking and Telecommunicatons, 3rd edition (2001)
Download the electronic version of the Encyclopedia of Networking, 2nd edition (1996). It's free!
Contribute to this site
Electronic licensing info
UNIX File System
Note: Many topics at this site are reduced versions of the text in "The Encyclopedia of Networking and Telecommunications." Search results will not be as extensive as a search of the book's CD-ROM.
The UNIX file system is a hierarchical, tree-structured namespace that is designed to help users organize and access files. The namespace consists of directories that hold files. UNIX file systems consist of the following:
File systems can be mounted and unmounted at any time. A mounted file system is available for use. If it is a network file system, it is available for remote users on the network to access.
As mentioned, the UNIX file system is hierarchical in structure and starts with a root directory (called /) from which all other directories branch. The root directory and subdirectories hold other files and other subdirectories. UNIX includes some unique subdirectories where system files are stored, including /bin, /etc, and /dev. A typical UNIX directory structure is pictured in the following illustration.
Illustration 13 (see book, page 1289)
UNIX has three access file permissions-read, write, and execute-and these are issued to three categories of users: owner, group, and others. Each of these is described here:
The three categories of users are described here:
Information on viewing and setting permissions is available at the UNIX file permissions page listed on the related entries page.
Commands in the UNIX environment such as ls (list), cat (catalog), and the FTP (File Transfer Protocol) utility display file permissions in a format similar to the following:
-rw-r--r-- 1 Tom Research 1009 Nov 11 1996 stars.gif
The first column of the file listing displays the permissions, and the remaining columns define the following in order: number of links, owner, group, file size, date, and filename. The permissions are listed as shown here:
Illustration 14 (see book, page 1290)
The UNIX system also defines special types of files that represent physical devices such as printers, terminals, and tape drives. Because devices are defined in this way, it is possible to direct the output of some command to the devices as if you were storing information in a file. If the device is a printer, it will print the output. Special device files are stored in the /dev directory. UNIX pipes are temporary files that store information that is being directed from one place to another.
Copyright (c) 2001 Tom Sheldon and Big Sur Multimedia.