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...

Markdown supported · ⌘↵ to post
Utsav Gohel
Cloud Engineer
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 "