> For the complete documentation index, see [llms.txt](https://sec88.0x88.online/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sec88.0x88.online/operating-systems/linux/linux-file-system.md).

# Linux File System

* ***/bin*** (binaries): This directory contains Linux binaries like the cd and ls command that we executed earlier.
* ***/sbin*** (system binaries): This directory holds system binary files that serve as administrative commands (like fdisk).
* ***/boot***: This directory contains the Linux bootloader files.
* ***/dev*** (devices): This directory contains the device configuration files (like */dev/null* ).
* ***/sys***: This is similar to */dev*, which contains configurations about devices and drivers.
* ***/etc*** (etcetera): This directory contains all the administration system files (like */etc/passwd* shows all the system users in Kali Linux).
* ***/lib*** (libraries): This directory hods the shared libraries for the binaries inside */bin* and */sbin*.
* ***/proc*** (processes): This directory contains the processes and kernel information files.
* ***/lost+found***: As in the name, this directory contains the files that have been recovered.
* ***/mnt*** (mount): This directory contains the mounted directories (example, a remote file share).
* ***/media***: This directory holds the removable media mounted directories (like DVD).
* ***/opt*** (option): This directory is used for add‐on software package installation. It is also used when installing software by users (example, hacking tools that you download from GitHub).
* ***/tmp*** (temporary): This is a temporary folder used temporarily, the holdings are wiped after each reboot. The tmp folder is a good place to download our tools for privilege escalation once we got a limited shell.
* ***/usr*** (user): This directory contains many sub-directories. In fact, */usr/share/* is a folder that we need to memorize because most of the tools that we use in Kali Linux (like Nmap, Metasploit, etc.) are stored there, and it also contains the wordlist dictionary files (*/usr/share/wordlists*).
* ***/home***: This is the home for Kali Linux users (example */home/kali/*).
* ***/root***: Home directory for root user.
* ***/srv*** (serve): This folder contains some data related to system server functionalities (like data for FTP servers).
* ***/var*** (variable): This folder contains variable data for databases, logs, and websites. For an example, */var/www/html/* contains the files for the Apache2 web server.
* ***/run*** (runtime): This directory holds runtime system data (like currently logged‐in users)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://sec88.0x88.online/operating-systems/linux/linux-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.
