Skip to content

Instantly share code, notes, and snippets.

@montgomerykern
Created February 6, 2016 03:03
Show Gist options
  • Save montgomerykern/2456d9cb1fa9c8ac43fe to your computer and use it in GitHub Desktop.
Save montgomerykern/2456d9cb1fa9c8ac43fe to your computer and use it in GitHub Desktop.
This is a handly little tidbit for deleting all root user mail on linux Debian 8.
#!/bin/bash
#Root Mail User Email Dump Script
cat /dev/null > /var/mail/root
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment