What happens if the user sysadmin invokes the mail command interface and there are no unread mail messages?

What happens if the user sysadmin invokes the mail command interface and there are no unread mail messages?Category: Introduction to Linux IIWhat happens if the user sysadmin invokes the mail command interface and there are no unread mail messages?
Linux Questions Staff asked 1 year ago

What happens if the user sysadmin invokes the mail command interface and there are no unread mail messages?

  • Command returns an error code
  • The mail program exits without any message
  • The message No mail for sysadmin is displayed
  • The cursor is placed in the message body for creating a new message

About the author