How to respond to : you have new mail. root@qklcc:~#

October 1, 2019 189 views

I have this message in my consoles:
you have new mail.

What should I enter to see the mail?

2 Answers

HI @giap88,

Most probably that’s a message sent from the system or from a cron job.

Where is the message?

It’s likely to be in the spool file: /var/mail/$USER or /var/spool/mail/$USER are the most common locations on Linux and BSD.

(Other locations are possible – check if $MAIL is set – but by default, the system only informs you about /var(/spool)/mail.)

Usually the spool file is in a very simple mbox format, so you can open it in a text editor or pager.

Kind regards,

Thank you @KFerdinandov.

I got to access my mail.

After that, the message in my terminal is as shown in the link below. I just don’t know to proceed next to clear off this item.

Please guide me.

Thank you


Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!