Linux标准系统目录及解释

本文详细介绍了Linux系统中各个目录的作用及存放的内容,如/bin、/boot、/dev等关键目录的功能,帮助读者理解Linux文件系统的组织结构。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

# /bin - common binaries
# /sbin - Binaries used for system administration are placed here.
# /boot - static files of the boot loader. Usually it contain the Linux kernel, Grub boot loader files and so on.
# /dev - device files such as your CD drive, hard disk, and any other physical device. (In Linux/Unix, the common premise is that everything is a file).
# /home - user home directories are found here. In unices like FreeBSD, the home directories are found in /usr/home. And in Solaris it is in /export. So quite a big difference here.
# /lib - Essential shared libraries and kernel modules
# /mnt - temporary mount point useful for when you insert your USB stick and it gets mounted under /mnt. Though in Ubuntu and the likes, it is usually mounted under /media.
# /var - variable data, such as logs, news, mail spool files and so on which is constantly being modified by various programs running on your system.
# /tmp - temporary files are placed here by default.
# /usr - the secondary hierarchy which contain its own bin and sbin sub-directories.
# /etc - Usually contain the configuration files for all the programs that run on your Linux/Unix system.
# /opt - Third party application packages which does not conform to the standard Linux file hierarchy can be installed here.
# /srv - Contains data for services provided by the system.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值