status.bash

curl -I http://example.com 2> /dev/null | grep HTTP | egrep -o [0-9]{3} curl -w "%{http_code}" http://example.com 2> /dev/null
A quick way to get HTTP status

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.