Bash Exercise 2
 

Assignment

Your second bash assignment is to make a script that will accept a filename as it's argument and print the contents.

If the file specified does not exist, your script should print an appropriate error message. If no filename is given as an argument, your script should print an appropriate error message.