Question: Create x empty files in a given directory (x is a number), following a naming format like this: myfile1, myfile2, etc. Ask the user to
Create x empty files in a given directory (x is a number), following a naming format like this: myfile1, myfile2, etc. Ask the user to enter the first part file name and the number of files he/she wants to create. Hint: you may use the touch command to quickly create empty files. Take two screenshots: a) Display the source code in an editor (#4-1) b) Execute your script in the terminal, and display the command and the result (#4-2) 9. Write a script to create the following directory structure in a directory of users choice. The user can supply the directory of choice as an argument; if missing, prompt the user to enter one from the command line. Take two screenshots: a) Display the source code in an editor (#4-3) b) Execute your script in the terminal, and display the command and the result (#4-4)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
