# Show Size of Current Directory

Size of current directory can be seen by using `du` command.

## Usage

To see size of current directory -

```bash
du -sh
```

To see size of a different directory -

```bash
du -sh /var
```

`/var` is the path to the directory you want to see the size of

***Source:*** [***Linuxize***](https://linuxize.com/post/how-get-size-of-file-directory-linux/)


---

# 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-size-of-current-directory.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.
