System directory structure for MAC OS X

Source: Internet
Author: User

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       传统unix命令的存放目录,如ls,rm,mv等。 /sbin      传统unix管理类命令存放目录,如fdisk,ifconfig等等。 /usr       第三方程序安装目录。 /dev       设备文件存放目录,如何代表硬盘的/dev/disk0。/usr/bin, /usr/sbin, /usr/lib,其中/usr/lib目录中存放了共享库(动态链接库). /etc       标准unix系统配置文件存放目录,如用户密码文件/etc/passwd。此目录实际为指向/private/etc的链接。 /tmp       临时文件存放目录,其权限为所有人任意读写。此目录实际为指向/private/tmp的链接。 /var       存放经常变化的文件,如日志文件。此目录实际为指向/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        应用程序目录,默认所有的GUI应用程序都安装在这里/Library             系统的数据文件、帮助文件、文档等等/Network             网络节点存放目录/System              只包含一个名为Library的目录,这个子目录中存放了系统的绝大部分组件,如各种framework,以及内核模块,字体文件等等。/Users               存放用户的个人资料和配置。每个用户有自己的单独目录。/Volumes             文件系统挂载点存放目录。 /cores               内核转储文件存放目录。当一个进程崩溃时,如果系统允许则会产生转储文件。 /private             里面的子目录存放了/tmp, /var, /etc等链接目录的目标目录。

System directory structure for MAC OS X

Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

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: and provide relevant evidence. A staff member will contact you within 5 working days.