Continuing Caldera Directories
We’re clipping along with the directory structure of Caldera OpenLinux, comparing the similarities and differences with other major Linux distributions.
/root. This is the home directory of the root user. Much like the /home directory, files belonging to the root user are stored in the /root directory. This is a common directory for all Linux distributions. It’s easy to confuse this with the / directory, but it’s actually not one and the same. Though the / is often referred to as the “root” directory, it is, in fact, the top level directory for the entire filesystem. The /root directory is a subdirectory of /.
/sbin. /sbin is the home for system binaries and utilities. Many of the programs installed as rpms during the initial setup can be found in either the /sbin directory or the /usr/sbin directory. In fact, as the major Linux distributors have moved increasingly in the direction of rpms for installs, more and more system binaries and utilities have found their way into the /sbin directory. In some cases, this directory isn’t added to the $PATH variable. If that’s the case, programs in this directory will not run by simply entering the file name. You can, in that event, either add /sbin to your path or enter the full pathname for the command. This is a directory that’s common to all Linux distributions.
/tmp. As with Windows, Linux may occasionally need a temporary directory when installing files. That’s the purpose of the /tmp directory – to store files that will only be needed one time, such as during an install.
Tomorrow, we’ll finish our tour of Caldera OpenLinux directory structure with the /usr and /var directories. On Thursday, we’ll wrap things up for this series, answering any burning questions we may have left unanswered.