Linux File System Layout

The Linux file system layout is very similar to the other UNIX variants described earlier, both in concept and in implementation. Files are contained in directories, and directories can have any number of subdirectories. Most operating systems are arranged this way, including UNIX.

The following is a long listing at the root level of a Caldera Linux system:

# ls -l / total 439 -rw-rw-rw- 1 root root 23 Nov 5 07:10 .lgdb dr-xr-xr-x 3 root root 1024 Nov 5 07:10 amd dr-xr-xr-x 2 root root 512 Nov 5 07:10 auto drwxr-xr-x 2 root root 2048 Nov 5 07:12 bin drwxr-xr-x 2 root root 1024 Nov 5 01:44 boot drwxr-xr-x 2 root root 10240 Nov 6 22:27 dev drwxr-xr-x 15 root root 2048 Nov 7 00:15 etc drwxr-xr-x 5 root root 1024 Nov 5 01:43 ...

Get HP-UX 11i System Administration Handbook and Toolkit, 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.