Next: The /var filesystem
Up: Overview of the Directory
Previous: The /dev directory
/usr 文件系统经常很大,因为所有程序安装在这里。
/usr 里的所有文件一般来自Linux distribution;
本地安装的程序和其他东西在/usr/local 下。
这样可能在升级新版系统或新distribution时无须重新安装全部程序。
/usr 的有些子目录在下面列出(一些不太重要的目录省略了,更多信息见FSSTND)。
- /usr/X11R6
-
X Window系统的所有文件。为简化X的开发和安装,X的文件没有集成到系统中。
X自己在/usr/X11R6 下类似/usr 。
- /usr/X386
-
类似/usr/X11R6 ,但是给X11 Release 5的。
- /usr/bin
-
几乎所有用户命令。
有些命令在/bin 或/usr/local/bin 中。
- /usr/sbin
-
根文件系统不必要的系统管理命令,例如多数服务程序。
- /usr/man , /usr/info , /usr/doc
-
手册页、GNU信息文档和各种其他文档文件。
- /usr/include
-
C编程语言的头文件。为了一致性这实际上应该在/usr/lib 下,但传统上支持这个名字。
- /usr/lib
-
程序或子系统的不变的数据文件,包括一些site-wide配置文件。名字lib来源于库(library);
编程的原始库存在/usr/lib 里。
- /usr/local
-
本地安装的软件和其他文件放在这里。
Linux学院





Sun Jun 29 13:31:22 EEST 1997《Linux命令大全》 | 《Linux函数调用大全》 | 《Linux系统管理员手册》 | 中国存储网