Question: Ubuntu Linux script command: Create x empty files in a given directory (x is a number), following a naming format like this: myfile1, myfile2, etc.

Ubuntu Linux script command:

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)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!