System directory structure for MAC OS X

Source: Internet
Author: User
Tags temporary file storage



Because Mac belongs to a Unix-like system, Mac OS X directory = Unix System Universal Directory + unique Directory



The following is the Unix generic directory


/bin The directory where traditional Unix commands are stored, such as ls, rm, mv, etc.
/sbin Traditional unix management class commands store directories, such as fdisk, ifconfig, and so on.
/usr Third-party program installation directory.
/dev device file storage directory, how to represent /dev/disk0 of the hard disk.
/usr/bin, /usr/sbin, /usr/lib, where the shared library (dynamic link library) is stored in the /usr/lib directory.
/etc Standard Unix system configuration file storage directory, such as user password file /etc/passwd. This directory is actually a link to /private/etc.
/tmp Temporary file storage directory, whose permissions are arbitrarily read and written by everyone. This directory is actually a link to /private/tmp.
/var Stores frequently changing files, such as log files. This directory is actually a link to /private/var.


etc Another way of saying, "Editable Text Configuration": Many people also see the/etc directory as a configuration file where our system programs are placed. So I often see such a directory introduction



The following is a unique directory


/Applications application directory, by default all GUI applications are installed here
/Library system data files, help files, documentation, etc.
/Network network node storage directory
/System only contains a directory called Library, which stores most of the components of the system, such as various frameworks, as well as kernel modules, font files, and so on.
/Users stores the user's profile and configuration. Each user has their own separate directory.
/Volumes File system mount point storage directory.
/cores Kernel dump file storage directory. When a process crashes, a dump file is generated if the system allows it.
The subdirectory in /private stores the target directory of the link directory such as /tmp, /var, /etc.



System directory structure for MAC OS X


Related Article

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.