About Checking the Headers of HTTP Responses

To see the headers of a HTTP response in the Terminal you can use

1
$ wget --server-response --spider http://​example.​com   

or

1
$ curl --head http://​example.​com

Programming Dev Ops Development Maintenance Bash Zsh