Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
DATE=`date '+DATE: %m/%d/%y%nTIME:%H:%M:%S'` RETURN_ADDRESS="firstname.lastname@example.org" SUBJECT="report as of`date '+DATE: %m/%d/%y%nTIME:%H:%M:%S'`" EMAIL_ADDRESS="email@example.com" ATTACHED_FILE="/opt/jobs/report.html" USERSREPORT= zip -r UsersReport.zip $ATTACHED_FILE # mail variables end ############ cat "$USERSREPORT" | mailx -r "$RETURN_ADDRESS" -s "$SUBJECT" "$EMAIL_ADDRESS"
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|how to monitor remote shell execution on linux||9||106|
|how to check for shares on aix||1||99|
|Cygwin VIM in WIndows 2007: Unable to copy text to Windows||10||75|
|unix in java example||9||77|