#!/bin/bash echo "TEST HUGO" url=http://localhost:6060 curl ${url} -I -o headers -s reponse=$(cat headers | head -n 1 | cut '-d ' '-f2') if [ $reponse == "200" ] then exit 0 fi