# 3.linux目录介绍

## 1. /

根目录,一般只存放目录不存放文件

## 2. /mnt

测试目录

## 3. /root

root 用户目录家目录

## 4. /home

普通用户家目录

## 5. /tmp

临时目录存放临时的文件比如上传的临时文件

## 6. /var

存放经常修改的数据,比如日志文件

## 7. /boot

存放启动Linux的内核文件,包括链接文件和镜像文件

## 8. /etc

存放系统默认配置文件

## 9. /bin

所有用户都可执行的程序

## 10. /sbin

仅仅root 用户可执行程序

## 11. /usr

用户自己的软件安装路径

## 12. /dev

硬件设备存放目录

## 13. /media

光盘挂在目录


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sugar-at.gitbook.io/blog-article/linux/directory.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
