# Viewing the Unix Tree

* `pwd`
  * This command name stands for "print working directory".
  * It displays on the terminal the absolute path name of the current (working) directory.
  * It is useful to locate where you are currently in the Unix tree.

```bash
# print working directory
pwd
```

* `ls`
  * This command stands for "list".
  * It displays the content of a directory.
  * By default, the content is listed in lexicographic order.

```bash
# list the content of the current directory
ls
ls .

# list content of the parent directory
ls ..

# list the contens of your home directory from anywhere
ls ~
```


---

# 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://igb.mit.edu/mini-courses/introduction-to-unix/the-unix-shell/using-the-unix-shell/viewing-the-unix-tree.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.
