how to check website is working or not in command line linux code example Example: how to check status code of a web server through terminal curl -Is http://droptips.com | head -n 1