Answered step by step
Verified Expert Solution
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started