Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database 101

Authors: Guy Kawasaki

1st Edition

0938151525, 978-0938151524

More Books

Students also viewed these Databases questions

Question

How do Data Types perform data validation?

Answered: 1 week ago

Question

How does Referential Integrity work?

Answered: 1 week ago