How to Check email via Command Line
· Shell & text · Networking & mail
Check your mail with mailx
Here's how to do that.
--If you type "?", you will get a list of help messages. For example, if you want to save all messages to a file, type the following:
#mailx
(Type "?" for help)
s * saveallmail (hit enter)
quit (hit enter to exit mail)