> For the complete documentation index, see [llms.txt](https://kunalwalavalkar.gitbook.io/write-ups/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kunalwalavalkar.gitbook.io/write-ups/command-challenge/oops-i-deleted-my-bin-dir.md).

# Oops I deleted my bin/ dir :(

**For now, all you need to do is figure out where you are,**\
**print the current working directory.**
----------------------------------------

```
> pwd
```

## **List all of the files on a single line, in the current working directory.**

```
> echo *
```

## **Oh no! You now remember there is a very important file in this directory. Display its contents before the data is lost for forever!**

```
>echo "$(<my-dissertation.txt)"
```

## **You know there is a process on machine that is deleting files, the first thing you want to do is identify the name of it. Print the name of the process**

```
> echo "$(</proc/42/cmdline)"
```

## **You managed to save your important file. Now that you know the process name it will be good to kill it before it does any more damanage.**

```
> kill 42
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://kunalwalavalkar.gitbook.io/write-ups/command-challenge/oops-i-deleted-my-bin-dir.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.
