Skip to primary content

The Ramonologue

Blog of Ramon van Belzen

Main menu

  • Home
  • About Me
  • Contact
  • Music
  • Portfolio

Post navigation

← Previous Next →

Linux Shell: delete all mail

Posted on 03/05/2015 by Ramoonus

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

Share this:

  • Share on X (Opens in new window) X
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
This entry was posted in Uncategorized and tagged Linux by Ramoonus. Bookmark the permalink.
Privacy Policy Proudly powered by WordPress