Directory structure
In Linux, the directory is a hierarchical (or tree-like structure), the root is the starting point of all directories, the root directory has the following subdirectories:
- /bin: Contains a binary file, you can execute the program, these programs are required by the system files;
- /sbin: Also used to store binary files, only Superuser root can be used;
- /etc: Store configuration files, such as Passwd,inittab, etc.;
- /boot: The file used by the system boot, the very important kernel vmlinux in the system is placed in this directory;
- /dev: Store device files that users can access to external devices via these files;
- /lib: The library files needed to store the program when running;
- /temp: Storage of various temporary documents;
- /MNT: Installation floppy disk, CD-ROM, USB stick mount point;
- /root: Super User's personal home directory;
- /usr: The directory is large in space for the installation of various applications;
- /proc: is a virtual directory, storing the image of the current memory, generated by the kernel autonomously;
- /var: store Some files that will change at any time.
Basic Linux Knowledge