Question: Bash Scripting Using Linux Ubuntu Terminal: 1. Create x empty files in a given directory(x is a number), following a naming format like this:myfile1, myfile2,

Bash Scripting Using Linux Ubuntu Terminal:

1. 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 mayuse thetouchcommand to quickly create empty files.

Take two screenshots:

a)Display the source code in an editor

b)Execute your script in the terminal, and display the command and the result

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!