Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the directory structures and file types of Linux

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article is to share with you about the directory structure and file types of Linux, the editor thinks it is very practical, so I share it with you to learn. I hope you can get something after reading this article.

1 directory structure bin

Store binary commands for ordinary users, such as / bin/date, / bin/ls

Sbin

Stores the administrator user's binary commands, such as / sbin/service

Usr

Store system files, which is equivalent to C:\ Windows

/ usr/local software installation directory, which is equivalent to C:\ program

Lib

Lib lib64 is collectively referred to as library files

Lib is a 32-bit library file

Lib64 is a 64-bit library file

Home

Store the home directory of ordinary users

Root

Super Admin Home Directory HOME

Etc

Default configuration file storage directory, system-related, such as network / etc/sysconfig/network

Boot

Store kernel files related to system startup, such as kernel, grub (bootloader)

Dev

Store device files (mainly storage devices), where all device-related files in the system are stored, such as disks. / dev/sda 、 / dev/sda1

Proc

Store virtual files to reflect the kernel, process information or real-time status, hardware status'

Opt

Default is empty

Var

Store changeable files such as databases, logs, and mail

Tmp

Temporary files (globally writable: temporary files generated by the process)

Media

Default mount point for mobile devices

Mnt

The mount point of a manual mount device, which is often used to mount disks manually in storage management

When lost+found fsck fixes, stores files or directories that are not linked

2. File type

-normal files ll command can view file types

D directory file

B block device file

C character device file

L link file fd command view, link files are basically in the proc directory

S socket file

P pipe file

The above are the directory structure and file types of Linux, and the editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow 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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report