Linux is a toy-general Linux technology-Linux technology and application information. The following is a detailed description. Author: yjssx
I read a lot of books about Linux in the future, and I am getting more and more confused. As the Linux version changes, the kernel itself is getting bigger and bigger. It is really hard to read. Every book that analyzes the 2.4 or 2.6 kernel is bigger than a brick. So someone turned out the Linux0.01 version, and the basic analysis was okay, but it didn't make much sense. Except for the three startup files that started, other files were already irrelevant, and the reference value was very small.
Objectively speaking, it is unlikely to analyze millions of lines of code once. However, if you can understand the call relationship, software architecture, and working principle of the Code in a concise way, it is very likely that, apart from fully operating Linux, you do not need to understand all the code to a large extent.
Where does the story start? Can folders be used? According to Linux 2.6.26 kernel reference, this guy actually has 59.65 M, including a variety of Files
The meanings of Linux directories are as follows:
/Vmlinuz the directory stores the system kernel. After compiling Linux, use the Link driver;
/Bin: Common commands used to store Linux in this directory. In some versions, the commands are the same as those in the root directory;
/Boot this directory stores all the programs used during system startup. some information here will be used when lilo is used to guide Linux.
/Dev this directory contains all external devices used in Linux. It is actually the port used to access these external devices and can access these external devices, it is no different from accessing a file or directory. For example, if you type "cd/dev/cdrom" in the system, you can see the files in the optical drive. If you type "cd/dev/mouse", you can see the files related to the mouse.
/Etc This directory stores various configuration files and sub-directories used for system management, such as network configuration files, file systems, X system configuration files, device configuration information, and set user information.
/Sbin this directory is used to store system management programs of the system administrator.
/Home if you create a user named "xx", there is a corresponding "/home/xx" path under the/home directory to store the user's home directory.
/Lib This directory is used to store the shared libraries dynamically connected by the system. Almost all applications will use the shared libraries in this directory.
/Lost + found this directory is empty in most cases. However, some files are temporarily stored here after a sudden power failure or abnormal shutdown.
/Mnt this directory is usually empty. You can temporarily mount another file system to this directory.
/Proc can obtain system information in this directory, which is generated by the system itself in the memory.
/Root if you log on as a Super User, this is the main directory of the Super User.
/Tmp is used to store temporary files generated during execution of different programs
/Many usr applications and files are stored in this directory.
These things are stored on the hard disk. They are arranged neatly and regularly. files are not displayed. Most of them are for running purposes, and few files are stored like readme, it does not matter if other files are used.
With a slight tap on the power supply, these files started to work in disorder and order. I prefer to think that they are thoughtful programs. Maybe one day they will think like we do.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.