Question: 3. UNIX Shell Script Write a UNIX shell script that takes a parameter. The parameter passed should be the name of a file that is
3. UNIX Shell Script Write a UNIX shell script that takes a parameter. The parameter passed should be the name of a file that is executeable. Validate the parameter and if it is not valid output an appropriate error message and ensure your script exits with an overall status of error. If the parameter is valid execute the parameter. If the execution of the parameter fails then output an appropriate error message and ensure your script exits with an overall status of error. If the parameter is valid and executed successfully your script should exit with an overall status of success
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
