> For the complete documentation index, see [llms.txt](https://thmflags.gitbook.io/thm-walkthroughs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://thmflags.gitbook.io/thm-walkthroughs/difficulty-info/linux-fundamentals/linux-fundamentals-part-1/task-5-interacting-with-the-filesystem.md).

# Task 5 - Interacting With the Filesystem!

## Task 5 Interacting With the Filesystem!

### On the Linux machine that you deploy, how many folders are there?

<details>

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

:triangular\_flag\_on\_post:`4`

</details>

### Which directory contains a file?&#x20;

{% hint style="warning" %}
**HINT:** We've discussed about a certain command that can be used to list contents of directories
{% endhint %}

<details>

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

:triangular\_flag\_on\_post:`folder4`

</details>

### What is the contents of this file?

<details>

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

:triangular\_flag\_on\_post:`Hello World`

</details>

### Use the cd command to navigate to this file and find out the new current working directory. What is the path?

<details>

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

:triangular\_flag\_on\_post:`/home/tryhackme/folder4`

</details>
