1 Unix File System and Command Line Tools intro
1.2 unix 文件系统
1.2.1 The Key Components of UNIX File System
文件 | 描述 |
---|---|
/: | The root of the file system |
/usr | Stands for Unix System Resources. 包含了系统公共程序 |
/sbin | System binaries.超级用户程序 |
/opt | Optional software.第三方软件,类似win的Program Files |
/etc | System configuration files. |
/home | Contains the user home directories.类似win的Documents and Settings |
/tmp | Temporary files.重启之后里面的文件消失 |
/kernel | The core operating system. 类似win的Windows |
/usr/lib | Contains precompiled libraries for use by everyone on the system.类似于win .DLL files |
1.3 The Shell Preliminaries
1.3.1 Current Working Directory
Current Working Directory就是程序执行的路径
参考:
https://www.usna.edu/Users/cs/aviv/classes/ic221/s16/lec/02/lec.html