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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!