# Task 6 - Common Directories

## Task 6 Common Directories

### Read me!

{% hint style="success" %}
No answer needed
{% endhint %}

### What is the directory path that would we expect logs to be stored in?

<details>

<summary>Reveal Flag <span data-gb-custom-inline data-tag="emoji" data-code="1f6a9">🚩</span></summary>

:triangular\_flag\_on\_post:`/var/log`

</details>

### What root directory is similar to how RAM on a computer works?

{% hint style="warning" %}
**HINT:** The contents of this root directory do not persist after reboot
{% endhint %}

<details>

<summary>Reveal Flag <span data-gb-custom-inline data-tag="emoji" data-code="1f6a9">🚩</span></summary>

:triangular\_flag\_on\_post:`/tmp`

</details>

### Name the home directory of the root user

<details>

<summary>Reveal Flag <span data-gb-custom-inline data-tag="emoji" data-code="1f6a9">🚩</span></summary>

:triangular\_flag\_on\_post:`/root`

</details>

### Now apply your learning and navigate through these directories on the deployed Linux machine.

{% hint style="success" %}
No answer needed
{% endhint %}


---

# 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://thmflags.gitbook.io/thm-walkthroughs/difficulty-info/linux-fundamentals/linux-fundamentals-part-2/task-6-common-directories.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.
