Linux directory structure introduction

Linux directory structure introduction



linux directory tree


"/" : The entry of the Linux file system. It is also the highest level directory.


"/bin": The command required by the basic system, the function is similar to "/usr/bin", the files in this directory are executable. Ordinary users can also use


"/boot": The kernel and the files needed to load the kernel. The grub system boot manager is also in this directory.


"/dev": Device file storage directory. Like terminal. Disk, etc.


"/etc": All system configuration files.


"/home": The default storage directory of the ordinary user's directory.


"/lib": The directory where library files and kernel modules are stored.


"/media": The mount point of the plug-and-play device is automatically stored in this directory. Like U disk, after cdrom/dvd is automatically mounted, it will be in this directory.


"/mnt": The mount point directory of the temporary file system.


"/opt": The storage directory of third-party software.


"/root": The root directory of the Linux super user root.


"/sbin": Basic system maintenance commands that can only be used by superusers.


"/srv": Store some data that needs to be extracted after the server is started.


"/tmp": Temporary file directory.


"/usr": Stores information such as system commands and applications used by users. Like commands. Help files, etc.


"/var": Store frequently changing data, such as logs, emails, etc.


/proc When the operating system is running, process (running program) information and kernel information (such as cpu, hard disk partition, memory information, etc.) are stored here. The /proc directory is the mount directory of the fake file system proc, which is not a real file system.
This is a very special directory in the system, in fact it does not exist on any partition. It is actually a real-time, in-memory filesystem.


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324845374&siteId=291194637