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

Fixed WSL sshd: no hostkeys available -- exiting

PowerMTA pmta command

How to fix: mv: failed to preserve ownership