msgchk [ User ... ]
The msgchk command checks mail drops for messages. The msgchk command reports whether the mail drop for the specified user contains messages and indicates if the user has already seen these messages. By default, the msgchk command checks the mail drop for the current user.
-help | Lists the command syntax, available switches (toggles), and version
information.
Note: For the Message Handler (MH), the name of this flag must be fully spelled out. |
msgchk
If you have new messages, the system responds with a message similar to the following:
You have new Internet mail waiting
If you have no messages, the system responds with a message similar to the following:
You don't have any mail waiting
msgchk karen
In this example, if user karen on your local system has new messages, the system responds with a message similar to the following:
karen has new Internet mail waiting
If user karen on your local system has no messages, the system responds with a message similar to the following:
karen doesn't have any mail waiting
The inc command.
The mh_alias file format, mh_profile file format.
Mail Overview in AIX 5L Version 5.1 System User's Guide: Communications and Networks.