Created
January 6, 2016 15:24
-
-
Save aaronmelton/2c50911b24c05db3cb86 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # | |
| (echo "DISK FREE:"; df -h; echo -e \\n; echo "DISK USAGE:"; du -h -d1 /var/ftp) | mail -s "Disk Usage Report" user@email.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment