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-13)
b) Execute your script in the terminal, and display the command and the result (#4-14)
Soliution -
(a) Source Code -
(b) the command and result after running -
Get Answers For Free
Most questions answered within 1 hours.