Digital Marketing

How to write a shell script for checking website text change

Example:

curl -s https://goyun.info/login | 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.

Comments

Popular posts from this blog

MySQL Sandbox with the Sakila sample database