A user wants an email sent when his shell script is executed successfully. Which of the following commands in the script can do this?

A user wants an email sent when his shell script is executed successfully. Which of the following commands in the script can do this?Category: Introduction to Linux IIAuthor "LinuxQuestions"A user wants an email sent when his shell script is executed successfully. Which of the following commands in the script can do this?
Linux Questions Staff asked 1 year ago

A user wants an email sent when his shell script is executed successfully. Which of the following commands in the script can do this?

  • mail root
  • echo $mail
  • mail brad
  • cron job will send an email by default

About the author