In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
Most people do not understand the knowledge points of this article "what are the common catalogs of Linux?", so the editor summarizes the following contents, detailed contents, clear steps, and has a certain reference value. I hope you can get something after reading this article. Let's take a look at this "what are the common catalogs of Linux?"
1. Bin directory
Binary (binary): many "instructions" corresponding to the "executable program file" directory
2. Sbin directory
Description: super binary super binary many "instructions" corresponding to the "executable program file" directory, the directory file corresponding to the instructions are "root" users can execute instructions ordinary users cannot use the commands in this directory:
Regular user: start with $
Root users: start with #
3. Usr directory
Description: unxi system resource
Unix system resource (unix system resource file directory)
This directory is similar to the C:/Program files directory of win systems.
This directory is often used to install all kinds of software
After the software is installed, the corresponding instruction will be formed, and the executable program file corresponding to the instruction will be stored in the following directory
/ usr/bin many "instructions" corresponding to the "executable program files" directory / usr/sbin root user executed instructions corresponding to the "executable program files" directory
4. Dev directory
Description: device system hardware device directory (all hardware in linux system is represented by files)
For example: / dev/cdrom is the optical drive / dev/sda is the first scsi hard drive
5. Home directory
Description: the "home directory" of ordinary users
Every time the system adds an ordinary user, it will set a file directory for the directory to represent the user's "home directory" when the user uses the system in the later stage, it will first enter its directory, the home directory name is the same as the current user name by default, the user has the absolute highest permission to the home directory.
6. Proc directory
Memory-mapped directory, which can view information about the system
7. Var directory
Variable variable, variable
The files stored in this directory often change (add, modify, delete)
Often used to deploy project program (php) files
/ var/www/shop
/ var/www/book
8. Boot directory
Description: system boot core directory, which is used to store system startup files
The core file of Linux system is only 18m.
Du-h: view the size of the file
9. Etc directory
Directory of main configuration files for the system
For example:
/ etc/passwd files used to store user information
/ etc/group files used to store group information
10. Lib directory
Library: system resource file class library directory
11. Selinux directory (secure enhanced linux)
Description: security-enhanced linux protects the system
It will have a certain impact when installing the software.
12. Mnt directory
Description: store a temporary mapping file system, and we often mount floppy and CD drives in the floppy and CDRom subdirectories here.
13. Tmp directory
Description: the directory where temporary files are stored
The above is about the content of this article on "what are the common catalogs of Linux?" I believe we all have a certain understanding. I hope the content shared by the editor will be helpful to you. If you want to know more about the relevant knowledge, please pay attention to the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.