Question: I need help writing a shell script for this scenario: You want to create individual work directories for all employees. Because the task of creating
I need help writing a shell script for this scenario: You want to create individual work directories for all employees. Because the task of creating directories individually is time consuming, you decide to write a shell script to automate the process:
* Following are the details for writing the bash script: Name of the script: userdir
Prompt text to remind the users to enter the number of directories required: Specify the number of directories to be created
Name of the variable to get the total number of directories: Numberofdir
Name of the variable to be used in the for loop to store the number of directories: d
I have started this script and cannot figure out where my problem is can someone please help me
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
