centos7 mail
For anyone wondering how to read these messages one by one, you can just use 'mail'
$ mail
Then type a message number from the list which you want to read.
To goto the next message you can type 'next', another useful command is 'delete'.
How to delete root user’s mailbox/inbox file in Linux or Unix
Simply type the following command at shell prompt to delete all root mail:
> /var/spool/mail/root
Verify it with the following command or cat command or ls command:
mail
cat /var/spool/mail/root
ls -l /var/spool/mail/root