In the Linux system, there are several directories are more important, usually need to be careful not to accidentally delete or arbitrarily change the internal files.
/etc: Also mentioned above, this is the configuration file in the system, if you change a file in this directory may cause the system will not start.
/bin,/sbin,/usr/bin,/usr/sbin: This is the placement directory of the system preset execution files, such as LS is in the/bin/ls directory.
It is worth noting that,/bin,/usr/bin is the instruction for the system user (except for root), and/sbin,/usr/sbin is the command to use for root.
/var: this is a very important directory, the system ran a lot of programs, then each program will have a corresponding log generated, and these logs are recorded in this directory, specifically in the/var/log directory, the other mail preset placement is also here.
See the brochure for details
Http://www.w3cschool.cc/linux/linux-system-contents.html
cd/[able to enter the catalogue]
CD bin [into the catalogue]
PWD [shows which directory is currently in]
CD /boot/ "If you want to go from one directory to another, go out and get in."
Use the following command in a Linux system to view the contents of a file: Cat starts displaying the file contents from the first line the TAC starts with the last line and can see that the TAC is backwards written by cat! NL Display, the output line number! More page by page The content of the file is less similar to more, but better than more, he can page forward! Head only looks at a few lines tail only look at the tail a few lines
Linux directory Structure