Linux Shell: delete all mail

If you want to delete all local emails on Linux (for example system messages)
Run the following command in the terminal

echo 'd *' | mail -N

Published
Categorized as Uncategorized Tagged

Leave a comment

Your email address will not be published. Required fields are marked *