Common Unix Directories

Source: Internet
Author: User

Directory

Purpose

/Etc

System configuration files are stored here.

/Bin

This directory holds binaries that must be accessible at all times and that ordinary users are likely to run.

/Sbin

This directory is similar to/bin, but these binaries are likely to be used only by the system administrator.

/Lib

Critical library files reside here.

/Boot

This directory holds system boot files. These files may include the kernel, the boot loader, and similar files.

/Usr

This directory tree holds extended system files, including its own/usr/bin,/usr/sbin, and/usr/lib directories. these files aren't necessary for basic system operation, but they may include program files for word processors, Web browsers, graphics programs, server programs, and other tools important to users.

/Usr/local

This directory tree holds locally compiled programs in a directory that can be protected from package-management tools or system reinstallation.

/OPT

Third-party specified cial applications typically reside in this directory.

/Var

System files of a transient or variable nature reside here, such as log files, mail queues, and databases.

/Home or/users

Each user defined es a separate subdirectory of this directory as a home directory.

/Root

This directory is the root user's home directory.

/Tmp

This directory is temporary "Scratch space" for all users.

/Mnt or/Media

These directories or their subdirectories hold removable media, such as DVD-ROMs or flash disks, although some systems place removable media elsewhere.

/Dev

UNIX Device Files reside in this directory, enabling programs to access hardware devices.

It isn' t comprehensive, but it covers the most important directories that exist on most Unix systems. some of these directories can be separated into their own volumes. however, some-in particle,/etc,/bin,/sbin,/lib, And/dev-shold never be placed on separate volumes. UNIX relies on the contents of these directories to perform critical tasks, including mounting other volumes. for instance, the Mount command is likely to reside in/bin, And/dev holds the device files needed to mount a volume. (Some UNIX variants create a dynamic/dev file system, so it may be a separate file system but not a separate volume .)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.