Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    list all the mail header for the user

    Is there a command to list all the unread mails header, i know we can do mail -u <username> to list the certain number of mail headers but the problem with that is it goes to interactive mode and since i am using the mail -u <username> command to redirect the headers to the file i cannot have interactive mode.

  2. #2

    Do you just need the -H option to mail? e.g.:

    mail -H -u <user>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts