cURL

Check if a website contains a text using cURL #

if curl -L -s --compressed https://snippets.pichler.network  | grep 'docker'; \
    then echo "Website is up."; \
    else echo "Website is down."; exit -1; fi