Basic mailx Commands c file append messages to file mark as not saved C append messages to author file mark not saved cd [directory] chdir to directory or home if none given ch [directory] chdir to directory or home if none given d delete messages e edit messages ec string echo the given strings ex exit without changing anything f give head lines of messages fi [file> change folder fo followup up specified messages F followup up first message send to message list fold [file> change folder folders display list of folders h print out active message headers hel write a summary of commands ho make messages go back to /usr/mail l print the complete list of Mail commands m mail to specific users n type next message p type messages P type messages pi command pipe message through given command pre make messages go back to /usr/mail q quit, saving unresolved messages in mbox r reply to messages; to entire CC list R reply to messages; to entire message list s file append messages to file (with headers) S append messages to author file (with headers) t type messages T type messages u undelete messages uns name unset specified variable to be erased v edit messages using screen editor w file append messages to file (without headers) x exit without changing anything z [+|-] scroll header display = display current message number ! shell escape | command pipe message through given command A consists of integers, ranges of same, or user names separated by spaces. If omitted, mailx uses the last message typed. A consists of user names or aliases separated by spaces. Aliases are defined in .mailrc in your home directory. Please see the mailx man page for detailed descriptions of all mailx commands.