SyntaxFix
Write A Post
Hire A Developer
Questions
wget --spider -S "http://url/to/be/checked" 2>&1 | grep "HTTP/" | awk '{print $2}'
prints only the status code for you