Digital Marketing

How to write a shell script for checking website text change


curl -s | grep "Service Interruption Notice" >/dev/null && echo "servicing" ||  echo -en "\007"

This bash script checks if there is "Service Interruption Notice" exists on the web site, otherwise it will make a beep sound to notify you.


Popular posts from this blog

Fixed WSL sshd: no hostkeys available -- exiting

PowerMTA pmta command