我还记得在本科时候的 Linux 编程课上,学习了 etc 和 usr 的全称——Essential Text Configuration, Unix System Resource。特别是后者很容易望文生义以为是 user。@Marshall Wu

The Linux file system used to resemble an unorganized town where individuals constructed their houses wherever they pleased. However, in 1994, the Filesystem Hierarchy Standard (FHS) was introduced to bring order to the Linux file system.

Linux 文件系统曾经像一个无组织的城镇,人们可以随意建造他们的房子。然而,在 1994 年,文件系统层次标准(FHS)被引入,为 Linux 文件系统带来了秩序。
By implementing a standard like the FHS, software can ensure a consistent layout across various Linux distributions. Nonetheless, not all Linux distributions strictly adhere to this standard. They often incorporate their own unique elements or cater to specific requirements.

通过实施像 FHS 这样的标准,软件可以确保在各种 Linux 发行版中保持一致的布局。然而,并非所有的 Linux 发行版都严格遵守这个标准。他们经常融入自己独特的元素或满足特定的要求。
To become proficient in this standard, you can begin by exploring. Utilize commands such as “cd” for navigation and “ls” for listing directory contents. Imagine the file system as a tree, starting from the root (/). With time, it will become second nature to you, transforming you into a skilled Linux administrator.

要熟练掌握这个标准,你可以开始探索。使用像“cd”这样的命令进行导航,和使用“ls”来列出目录内容。将文件系统想象成一棵树,从根部(/)开始。随着时间的推移,这将变得与生俱来,使你变成一个熟练的 Linux 管理员。
Have fun exploring!

玩得开心!
Over to you: which directory did you use most frequently?
轮到你了:你最常使用哪个目录?


我印象中自己最常用的是/etc 其次是/var

我曾经也经常以为 usr 是 user,其实是 Unix System Resource 啦,ByteByteGo 的这个图片真的是太直观了,对于我这种视觉学习者非常友好,多看多记忆