Start mailx by typing the following command at a prompt and then pressing the Return key:
$ mailx |
If you don't have any mail waiting for you, your terminal displays the message:
No mail for username $ |
In this message, username is your login name.