Question: Hi im having trouble with the bash scripting question. 1. Create a shell script called mod8.sh that will pass a numerical value to the shell

Hi im having trouble with the bash scripting question.

1. Create a shell script called mod8.sh that will pass a numerical value to the shell script.

2. Using the numerical value create empty text files from the previous step to the passed valued called module8.#.txt

-Replace # with 1, 2, 3, ...., N

-You need to use a loop to do this

3. Create a tar.bz2 file from the empty files just created. Call this new file mod8.sh.tar.bz2

-Use file globbing

-Do not hard code in the name of the file, use a variable

4. Display the size of mod8.sh.tar.bz2.

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!