Advanced Linux Shell Scripting for DevOps Engineers with User management
Loops (for loop):
Execute a block of code repeatedly.
#!/bin/bash
for i in {1..5}; do
echo "Iteration $i"
done
Example 1 : Write the script, if executed as ./CreateDirectories.sh
then it creates 90 directories as day1 day2 day3 .... day90
nano Cr...
harishgawande.hashnode.dev9 min read