Mac System directory Structure

Source: Internet
Author: User

1 directories that match Unix tradition
    • /bin a directory of traditional UNIX commands, such as LS,RM,MV.
    • /sbin traditional UNIX Management class commands to store directories such as Fdisk,ifconfig and so on.
    • /USR third-party program installation directory.
    • /usr/bin,/usr/sbin,/usr/lib, where the shared library (dynamic link library) is stored in the/usr/lib directory.
    • /etc. the standard UNIX system configuration file stores directories, such as user password file/etc/passwd. This directory is actually a link to/private/etc.
    • /dev Device File Store directory, how to represent the/dev/disk0 of the hard disk.
    • /tmp temporary file storage directory, its permissions for everyone to read and write. 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.

2 OS X-specific directory OS X system, in addition to the standard UNIX directory, but also added a unique directory.
    • /applications application directory, the default all GUI applications are installed here;
    • /library system data files, Help files, documents and so on;
    • /network network node storage directory;
    • /system He contains only a directory called the Library, which stores most of the system's components, such as various frameworks, kernel modules, font files, and so on.
    • /users Store the user's profile and configuration. Each user has its own separate directory.
    • /volumes file system mount point storage directory.
    • /cores the kernel dump file to store the directory. When a process crashes, a dump file is generated if the system allows it.
    • The subdirectory inside the/private contains the target directory of the/TMP,/VAR,/etc and other linked directories.

Mac System directory Structure

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.