# Show Disk Usage By Directories

We can use `ncdu` to see disk usage interactively in command-line only.

> ncdu (NCurses Disk Usage) is a curses-based version of the well-known 'du', and provides a fast way to see what directories are using your disk space.

**Usage**

```bash
ncdu {OPTIONS} {DIRECTORY}
```

**Example**

```
ncdu -x /
```

Will show usage of `/` (root) directory.

***Source:*** [***AskUbuntu***](https://askubuntu.com/a/305057)


---

# 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://til.devjugal.com/linux/show-disk-usage-by-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.
