5 ms·
Want the HTTP status code for a server? ```alias hstat="curl -Lo /dev/null --silent --head --write-out '%{http_code}\n'" $1 #HTTP status code``` example:
by UI_at_80x24 1y ago
Want the HTTP status code for a server?
```alias hstat="curl -Lo /dev/null --silent --head --write-out '%{http_code}\n'" $1 #HTTP status code```
example:
```$ hstat google.com
200```