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) please show all the steps with images thanks
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started