# Day 5 Task: Advanced Linux Shell Scripting for DevOps Engineers with User management
Bilal Yousaf
Linux Server Administrator | DevOps Engineer | Python | AWS | Linux | CI/CD | Dockers | Kubernetes | Ansible | Infrastructure as Code
1. Write a bash script create directories.sh that when the script is executed with three given arguments (one is the directory name and second is start number of directories and third is the end number of directories ) it creates a specified number of directories with a dynamic directory name.
When the script is executed as `./createDirectories.sh day 1 90` then it creates 90 directories as `day1 day2 day3 .... day90`
2. Create a Script to backup all your work done till now.
Backups are very important part for DevOps Engineers now a days. So How to take a backup using shell scripting ?
3. Read About Cron and Crontab, to automate the backup Script.
Cron is the name of the tool, crontab is generally the file that lists the jobs that cron will be executing, and those jobs are, surprise cronjobs. Crontab is mostly used for automation .
To create crontab simply execute "crontab -e" you will be redirected to
13 19 * * * echo "This is my first cron job" > /home/ubuntu/test_cron_first.txt
5. Create 2 users and just display their Usernames