> For the complete documentation index, see [llms.txt](https://pooja-shah.gitbook.io/basics-of-linux-workshop/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pooja-shah.gitbook.io/basics-of-linux-workshop/quiz.md).

# Quiz

**Exercise 1:**

1. Create a directory named "linux\_tutorial"
2. Create a file & save "f1.txt" inside it with content "hi i'm alive"&#x20;
3. Create another directory named subdir&#x20;
4. Navigate to subdir
5. Create and save a file named "f2.txt" inside subdir with content "I'm not a donkey"
6. hit cd      (to come out completely)
7. Find the file which contains "a donkey" string in entire your machine&#x20;
8. Open file "f2.txt", search for speific string or charcter and keep searching for all its occurences
9. Now, without opening file "f2.txt" replace any existing string with "blah"
10. Print the line numbers in f1.txt without opening it&#x20;

**Exercise 2:**

1. create directory path like "linux\_tutorial/chapter1"  in one go
2. navigate to the chapter1
3. just create and save 5 files with some name and some contents
4. sort these files by thier&#x20;
   1. alphabetic names
   2. size

**Tip:** Play a little more quizes online: <http://lmgtfy.com/?q=linux+basic+quiz>


---

# 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://pooja-shah.gitbook.io/basics-of-linux-workshop/quiz.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.
