# Unix File System

* <https://refspecs.linuxfoundation.org/FHS\\_3.0/fhs/index.html>

## Summmary

* 📂 /bin:
  * Contains essential system binaries that are required for booting and basic system operations.
* 📂 /boot:
  * Contains files required for booting the system, including the Linux kernel, initial RAM disk, and boot loader files.
* 📂 /dev:
  * Contains device files that represent hardware devices connected to the system.
* 📂 /etc:
  * Contains system-wide configuration files for various applications and services.
* 📂 /home:
  * Contains user home directories, where user-specific data and settings are stored.
* 📂 /lib:
  * Contains shared libraries required by system binaries and other executables.
* 📂 /media:
  * Mount point for removable media such as USB drives, CDs, DVDs, etc. 📀💾
* 📂 /mnt:
  * Mount point for temporary file systems, such as network file systems.
* 📂 /opt:
  * Contains optional software packages that are not part of the default system installation.
* 📂 /proc:
  * Contains virtual files that represent system and process information.
* 📂 /root:
  * Home directory for the root user.
* 📂 /run:
  * Contains temporary files that are created by system daemons and other processes.
* 📂 /sbin:
  * Contains system binaries that are required for system administration.
* 📂 /srv:
  * Contains data for services provided by the system.
* 📂 /sys:
  * Contains virtual files that represent the system's hardware devices and drivers.
* 📂 /tmp:
  * Contains temporary files that are created by applications and system processes.
* 📂 /usr:
  * Contains user binaries, libraries, documentation, and source-code for the system.
* 📂 /var:
  * Contains variable files, such as log files, spool directories, and caches for various applications and services. 📈🗂️💻


---

# 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://hanfak.gitbook.io/workspace/operating-system/unix-file-system.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.
