Files
krawl.es/tests/check_header.sh

3 lines
168 B
Bash
Raw Normal View History

#!/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:"