hugo-site/testWeb.sh
2021-07-29 17:57:33 +02:00

7 lines
127 B
Bash
Executable File

#!/bin/bash
echo "TEST HUGO"
url=http://localhost:6060
curl ${url} -I -o headers -s
cat headers | head -n 1 | cut '-d ' '-f2'