Analyze Linux operating system file directory

xiaoxiao2021-03-06  114

With the continuous development of Linux, more and more people have started using Linux, and they are fearful for those who have just been in contact.

I am afraid that I feel confused is the directory of "unknown". If you want to use Linux, let Linux listen

If you live on yourself, you must master these directories. Below you will be with Xteam's latest products - xteamlinux 4.0 is

Introduce the directory under the system.

/ bin bin is the abbreviation of binary. This directory stores the most frequently used commands.

/ boot stores some of the core files used when launching Linux, including some link files and mirroring

file.

/ dev dev device is an abbreviation of Device. The external device of Linux is stored in this directory in Linux.

The way to access the device and the way access to the files are the same.

/ etc This directory is used to store all the configuration files and subdirectories required for system management.

/ HOME user's home directory, in Linux, each user has a directory, usually the directory name is

Named by the user's account.

/ libly in this catalog, the system is placed the most basic dynamic link sharing library, which is similar to D in Windows.

LL file. Almost all applications require these shared libraries.

/ Lost Found This directory is generally empty. When the system is illegally shut down, some texts are stored here.

Part.

/ MNT has four directories in this, and the system provides these directories to make users temporarily mount other file systems.

In fact, we can mount the optical drive on / mnt / cdrom, and then enter the content in the directory.

.

/ proc is a virtual directory, which is a mapping of system memory, we can access this directly

Catalogs to get system information. The content of this directory is not on the hard disk but in memory, we can also directly repair

For some files inside, for example, you can block the host's ping command so that others can't ping.

Your machine:

ECHO 1> / proc / sys / net / ipv4 / icmp_echo_

Ignore_all.

/ root This catalog is a system administrator, also known as a user's home directory for superlisher.

/ Sbin S is the meaning of Super User, which is stored in the system administrator used by the system administrator.

/ TMP This directory is used to store some temporary files.

Many applications and files we have to use are almost stored in a USR directory. Specifically:

/ usr / x11r6 stores the directory of X-windows;

/ USR / GAMES stores a small game with xteamlinux;

/ usr / bin stores many applications;

/ usr / sbin stores the management program used by root superuser;

/ usr / doc Linux technology document;

/ usr / include uses the header file required to develop and compile applications under Linux;

/ usr / lib stores some commonly used dynamic link sharing libraries and static archive;

/ usr / local This is a / usr directory that provides a general user, installing a general application here;

/ usr / man helps the directory where the document is located;

/ USR / SRC Linux open source code, there is this directory, and the enthusiasts don't let go.

/ var This directory stores continuously expanded things, we are used to put those directors that are often modified

In this directory. Includes a variety of log files. If you want to be a website, you will use / var / www this purpose

record.

This article briefly explains the general content of the directory. If you want to become a Linux master, you should further learn these directories under Linux.

转载请注明原文地址:https://www.9cbs.com/read-98427.html

New Post(0)