Detailed explanation of Linux system directories sys, tmp, usr, var!

Detailed explanation of Linux system directories sys, tmp, usr, var!

The growth path from a Linux novice to a Linux master: Understand the Linux system directories, sys, tmp, usr, var!

This article will continue to tell you about the Linux directory and lay the foundation for subsequent learning.

The first step is that the sys directory stores files related to the Linux system. Of course, there are still many files here, and I will explain them in detail in subsequent articles.

The second step is that some temporary files are stored in the tmp folder. No matter which directory we open under this folder, the displayed content is almost the same.

The third step, usr is a directory commonly used by system users, which stores some software and files. We can see that there are bin files in the usr directory, and there is also a bin directory in the system directory. We can open them separately and find that there are still big differences between them.

The fourth step is that the var directory can be called an extended directory. When we have other needs but the existing directory cannot meet them, we can create other content in the var directory.

In the fifth step, we return to this lovely visual interface. The next article will tell you how to retrieve the password and enter the system if we forget our system startup password or account.

The above is the introduction about the Linux system directories sys, tmp, usr, and var! Thank you for your reading and support of 123WORDPRESS.COM.

You may also be interested in:
  • Master the Linux system directory structure in one minute

<<:  Diving into JS inheritance

>>:  A brief discussion on MySQL B-tree index and index optimization summary

Recommend

The best solution for implementing digital plus and minus buttons with pure CSS

Preface: For the implementation of digital additi...

JavaScript explains the encapsulation and use of slow-motion animation

Implementing process analysis (1) How to call rep...

Linux kernel device driver system call notes

/**************************** * System call******...

How to design and create adaptive web pages

With the popularization of 3G, more and more peop...

Web Design Experience

<br />The author used to be a novice in web ...

Implement a simple data response system

Table of contents 1. Dep 2. Understand obverser 3...

Example of compiling LNMP in Docker container

Table of contents 1. Project Description 2. Nginx...

HTML meta usage examples

Example Usage Copy code The code is as follows: &l...

Linux RabbitMQ cluster construction process diagram

1. Overall steps At the beginning, we introduced ...

VMware, nmap, burpsuite installation tutorial

Table of contents VMware BurpSuite 1. Virtual mac...

Detailed process of upgrading glibc dynamic library in centos 6.9

glibc is the libc library released by gnu, that i...

Detailed explanation of the underlying encapsulation of Java connection to MySQL

This article shares the Java connection MySQL und...

IDEA2021 tomcat10 servlet newer version pitfalls

Because the version I used when I was learning wa...

JavaScript manual implementation of instanceof method

1. Usage of instanceof instanceof operator is use...