Internet Explorer in all versions is a dangerous browser. It has many deficiencies and security vulnerabilities that make it unsafe.
You should instead use a current version of Chrome or
Firefox if you're using windows or Safari for the Mac.
This site will not function properly in Internet Explorer. Emails will not be sent, downloads will not function, assignments will not be
submitted...
Lab09 Shell Scripting II
Due: Tuesday April 28, 2015 11:59 PM
Lab09 - Shell Scripting II
Requirements
Filename accepted as a command line argument
2 pts
Error expressed if no command line argument given
2 pts
File existence tested
2 pts
Error expressed if file does not exist
2 pts
Collection directory's existence tested
2 pts
Collection directory created if it didn't exist
2 pts
Specified file copied into the collection directory
Accept the name of a file as a command line argument. If a command line argument isn't given, display an error message and quit.
If an argument is given, test to confirm that the argument is the name of a file in the working directory. If the file exists, copy it to a "collection" directory. If the file doesn't exist, display an error and exit.
The collection directory should be a directory called collection located below the current users home directory. Test for the existence of the collection directory and if it doesn't exist, create it before copying the file.
Document you program by adding comments to it and leave the script in your bin directory for grading.