Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer 1

up vote 2 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:

h
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.