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. |
msgchkIf you have new messages, the system responds with a message similar to the following:
You have new Internet mail waitingIf you have no messages, the system responds with a message similar to the following:
You don't have any mail waiting
msgchk karenIn 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 waitingIf 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 Version 4.3 System User's Guide: Communications and Networks.
Peek, Jerry. MH and xmh: E-mail for Users and Programmers. Sebastopol, CA: O'Reilly & Associates, 1992.