Question: ( This needs to be coded in a bash script ) Step 2 - Unzip the file quietly Unzip the file that was given as
This needs to be coded in a bash script
Step Unzip the file quietly
Unzip the file that was given as the first argument. Use the option that suppresses the output. I don't want to see it all.
If the zip file cannot be unzipped an invalid zip file then I want you to print an error message to STDERR and stop
the script.
The error message must contain the work "ERROR"
Step Change the names of the directories
I want all the student directories names changed to just the student numbers.
Step Copy student answers to current directory & rename I want all the student files txt copied to the current directory, with the student number followed by an underscore prepended to the filename
I don't really get how to do this, especially step Any help would be appreciated.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
