Files
krawl.es/tests/check_header.sh
2025-12-30 00:59:15 +01:00

3 lines
168 B
Bash
Executable File

#!/bin/env bash
# -s is for silent (no progress bar) | -I is to get the headers | grep is to find only the Server line
curl -s -I http://localhost:5000 | grep "Server:"