Home  >  Article  >  Operation and Maintenance  >  Where is the linux system folder?

Where is the linux system folder?

藏色散人
藏色散人Original
2023-03-10 09:10:397154browse

The linux system folder is in the root directory of the linux system. The symbol "/" represents the root directory; usually the linux system will create some system directories by default after installation, that is, system folders to store and store the entire operating system. related documents.

Where is the linux system folder?

#The operating environment of this tutorial: linux5.9.8 system, Dell G3 computer.

Where is the linux system folder?

Linux system (root directory) directory introduction

Usually, Linux systems will create some system directories by default after installation to store files related to the entire operating system.

The system directory and its description are as follows:

1./: Root directory. In Windows, DOS or other similar operating systems, each partition will have a corresponding root directory. However, Linux and other Unix systems place all files in a directory tree, and "/" is the only root directory. Generally speaking, there are few files saved under the root directory, or there is only one kernel image in it.

2./tmp: Generally, only temporary files generated during startup will be placed in this place. User's temporary files are placed in "/var/tmp".

3./mnt: Under this directory are some subdirectories for installing other devices, such as "/mnt/cdrom".

4./ib: All library files used during startup are placed in this directory. Those non-startup library files will be placed under /usr/lib.

5./boot: Many Linux systems place the kernel image and other startup-related files here.

6./proc: This directory does not actually exist on the disk. The files inside are all about the current status of the system.

7./dev: All device files are stored in this directory.

8./var: There are some data changed by the system.

9./root: The home directory of the root user.

10.home: By default, all user home directories except root will be placed in this directory.

11./etc: Most of the system configuration files are stored here.

12./bin and /sbin: Here are the ordinary programs and system programs required for startup respectively.

13. /usr: This is a very complex and huge directory. In addition to the above directories, almost all files are stored below.

  • /usr/bin: The directory where binary executable files are stored. Most applications are stored here.

  • /usr/etc: A configuration file for installing software is stored here, which is usually empty.

  • /usr/oames: The game program and corresponding data will be placed here.

  • /usr/lib: Library files not used during startup will be placed here.

  • /usr/libexec: System library files are saved here.

  • /usr/local: This contains files required by the local computer, which is particularly meaningful when users perform remote access.

  • /usr/sbin: Most of the system programs are stored here.

  • /usr/share: Various shared files are stored here.

  • /usr/src: Source code files are saved here.

  • /usr/tmp: Temporary files are saved here.

Related recommendations: "Linux Video Tutorial"

The above is the detailed content of Where is the linux system folder?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:where is linux printfNext article:where is linux printf