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

jQuery+Ajax to achieve simple paging effect

This article shares the specific code of jquery+A...

How to connect Navicat to the docker database on the server

Start the mysql container in docekr Use command: ...

Detailed explanation of CSS3 animation and new features of HTML5

1. CSS3 animation ☺CSS3 animations are much easie...

How to use HTML form with multiple examples

Nine simple examples analyze the use of HTML form...

Detailed explanation of jQuery's copy object

<!DOCTYPE html> <html lang="en"...

CSS implements five common 2D transformations

2D transformations in CSS allow us to perform som...

Detailed explanation of the basic commands of Docker run process and image

Table of contents 1. Run workflow 2. Basic comman...

MySQL sorting Chinese details and examples

Detailed explanation of MySQL sorting Chinese cha...

Html/Css (the first must-read guide for beginners)

1. Understanding the meaning of web standards-Why...

Linux unlink function and how to delete files

1. unlink function For hard links, unlink is used...

The meaning of status code in HTTP protocol

A status code that indicates a provisional respon...