Dec 20, 2017

Linux mailx command mode commands

RefMeaning

nMessage number n
n-mMessages n through m
.The current message
^The first undeleted message
(or first deleted message for undelete)
$The last message
*All messages
+Next message
-Previous message
userAll messages from the given user
/stringAll messages with string in the subject line
(the case of characters in string is ignored)
:dAll deleted messages
:nAll new messages
:oAll old messages
:rAll messages that have already been read
:uAll unread messages