---
title: "Discussion on \"Day 5 Task: Advanced Linux Shell Scripting for DevOps Engineers with User management\" | Hashnode"
description: "Discussion on \"Day 5 Task: Advanced Linux Shell Scripting for DevOps Engineers with User management\". You have to do the same using Shell Script i.e using either Loops or command with start day and end day variables using arguments -\n\nSo Write a bash script createDirectories.sh that when the script is executed with three given arguments (one is direc..."
url: "https://hashnode.com/posts/day-5-task-advanced-linux-shell-scripting-for-devops-engineers-with-user-management/644ac083a529f902473112c5"
---

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

Discussion

# [Day 5 Task: Advanced Linux Shell Scripting for DevOps Engineers with User management](https://sheetal30.hashnode.dev/day-5-task-advanced-linux-shell-scripting-for-devops-engineers-with-user-management?utm_source=hashnode&utm_medium=feed)

You have to do the same using Shell Script i.e using either Loops or command with start day and end day variables using arguments - So Write a bash script createDirectories.sh that when the script is executed with three given arguments (one is direc...

Apr 27, 2023 · 4 min read · sheetal30.hashnode.dev  
Read the article

-   [#day5of-90dayofdevops-advanced-shell-scripting](https://hashnode.com/tag/day5of-90dayofdevops-advanced-shell-scripting)

## Written by

[Sheetal Shelake](https://hashnode.com/@Sheetalshelake30)

@Sheetalshelake30

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

## Responses 1

Markdown supported · ⌘↵ to post

[Utsav Gohel](https://hashnode.com/@utsavgohel)

[Aug 3, 2023](https://hashnode.com/posts/day-5-task-advanced-linux-shell-scripting-for-devops-engineers-with-user-management/644ac083a529f902473112c5/comment/64cb5ffd38b248b9c360ac67)

In Question 1

folder start and end are static  
to convert it dynamic

use this code

"#!/bin/bash

directoryName=$1 startNumberOfDirectory=$2 endNumberOfDirectory=$3

for num in $(seq "$2" "$3"); do mkdir $1_$num echo "$1_$num Directory created" done "
