Question: Shell Scripts (Linux) Write a shell script called gotmail that will check for the existence of a mail spool file (see environment variable MAIL). If
Shell Scripts (Linux)
Write a shell script called gotmail that will check for the existence of a mail spool file (see environment variable MAIL). If the file exists the script will print the following to the screen: "You have a mail spool file." If the file does not exist, the script will print nothing. Assume the script returns its result for the user who runs it, don't hard code the user.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
