Skip to main content

Command Palette

Search for a command to run...

#Day 5 - Shell Scripting - Loops

Published
1 min read
#Day 5 - Shell Scripting - Loops
S

I write blogs about DevOps current and emerging tools/technologies.

✔️ Task 1: When the script is executed as

./createDirectories.sh day 1 90

then it creates 90 directories as day1 day2 day3 .... day90

Script :

Output :

✔️ When the script is executed as

./createDirectories.sh Movie 20 50 then it creates 50 directories as Movie20 Movie21 Movie23 ...Movie50

Script :

Output :

#devops #90daysofdevopschallenge #trainwithshubham