---
title: "Discussion on \"Advanced Linux Shell Scripting\" | Hashnode"
description: "Discussion on \"Advanced Linux Shell Scripting\". Day-5 Task:\nTo write a shell script that will create directories up to N number.\n\n#!/bin/bash\n  if [ \"$#\" -ne 3 ]; then\n  echo \"Please provide directory name, start number, and end number as arguments.\"\n  exit 1\n  fi\n  dir_name=$1\n  start_num=$2\n  en..."
url: "https://hashnode.com/posts/advanced-linux-shell-scripting/646f4d261fc3f858d538f9d3"
---

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

Discussion

# [Advanced Linux Shell Scripting](https://awshelpinghand.hashnode.dev/advanced-linux-shell-scripting?utm_source=hashnode&utm_medium=feed)

Day-5 Task: To write a shell script that will create directories up to N number. #!/bin/bash if \[ "$#" -ne 3 \]; then echo "Please provide directory name, start number, and end number as arguments." exit 1 fi dir\_name=$1 start\_num=$2 en...

May 25, 2023 · 1 min read · awshelpinghand.hashnode.dev  
Read the article

-   [#aws-helping-hand](https://hashnode.com/tag/aws-helping-hand)
-   [#90daysofdevopschallenge](https://hashnode.com/tag/90daysofdevopschallenge)
-   [#90daysofdevops](https://hashnode.com/tag/90daysofdevops)
-   [#devops-90daysofdevopschallenges](https://hashnode.com/tag/devops-90daysofdevopschallenges)
-   [#shellscripting-devops](https://hashnode.com/tag/shellscripting-devops)

## Written by

[Sai Deva Harsha](https://hashnode.com/@SaiDevaHarsha)

@SaiDevaHarsha · India

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

Student

DevOps Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
