---
title: "Discussion on \"Linux Scenario Based Questions\" | Hashnode"
description: "Discussion on \"Linux Scenario Based Questions\". How would you create a directory named \"Ritul\" with a subdirectory named \"Anjali\" and a file named \"hello.txt\" inside the \"Anjali\" subdirectory using a single command in Linux?\n mkdir -p Ritul/Anjali && touch Ritul/Anjali/hello.txt\n\n\nYou have a direc..."
url: "https://hashnode.com/posts/linux-scenario-based-questions/65fd822f8224c55a2ac03cc7"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Linux Scenario Based Questions](https://ritul.hashnode.dev/linux-scenario-based-questions?utm_source=hashnode&utm_medium=feed)

How would you create a directory named "Ritul" with a subdirectory named "Anjali" and a file named "hello.txt" inside the "Anjali" subdirectory using a single command in Linux? mkdir -p Ritul/Anjali && touch Ritul/Anjali/hello.txt You have a direc...

Mar 22, 2024 · 5 min read · ritul.hashnode.dev  
Read the article

-   [#linux-scenario-based-questions](https://hashnode.com/tag/linux-scenario-based-questions)
-   [#linux](https://hashnode.com/tag/linux)
-   [#helloritul](https://hashnode.com/tag/helloritul)
-   [#trainwithshubham](https://hashnode.com/tag/trainwithshubham)

## Written by

[Ritul Gupta](https://hashnode.com/@HelloRitul)

@HelloRitul · India

  
[View profile](https://hashnode.com/@HelloRitul)

Azure certified | Infrastructure engineer

Packaged App Development Associate @ Accenture | Infrastructure Engineering | Exploring Cloud &amp; Security

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
