Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If you type mailx at the command line when you have new mail, it nicely shows you headers of your new mail and leaves you at a ? prompt where you can do mail commands. But if you don't have new mail and you try to get into mailx, it just says "no new mail" and kicks you out. I want to get into mailx when I don't have new mail and also what I haven't figured out to do is once I'm in at the ? prompt, I want to see a list of all the headers of the already read mail still in my mailbox.

So the two things I would like to know are how to get to the ? prompt without mailing myself a dummy email, and once I'm in, how to see a list of the already read messages in my inbox.

share|improve this question
up vote 4 down vote accepted

Found it. To open without being kicked out if there's no new mail:

mailx -f

To get the header list again once in:

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .