Skip to content

Instantly share code, notes, and snippets.

@jbub
Created July 5, 2013 09:52
Show Gist options
  • Save jbub/5933439 to your computer and use it in GitHub Desktop.
Save jbub/5933439 to your computer and use it in GitHub Desktop.
Delete mail messages in debian.
# run mail
mail
# delete single message by its id
d 6
# delete messages using range of ids, from 1 to 20
d 1-20
# you must quit properly in order to delete messages
quit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment