Created
July 13, 2018 00:22
-
-
Save simbalinux/f3b7285a569bda47ddf2a3ac7c8e3af4 to your computer and use it in GitHub Desktop.
pipe_webpage
This file contains 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
#!/usr/bin/env bash | |
(echo "Content-Type: text/html"; curl localhost/cgi-bin/report.cgi) | /usr/sbin/sendmail user@domain.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment