Question: Write a script called archiver that takes a positional parameter of a file. Test if there are enough parameters. If the parameter is missing, print
Write a script called archiver that takes a positional parameter of a file. Test if there are enough parameters. If the parameter is missing, print an error. If the file is given, test if the given file exits. If the file exists, archive the file, and print a message. If the file does not exist, it should be created, but not archived
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
