HEAD

From Wsms

Jump to: navigation, search

HEAD shows you the http headers from a website.

common usage

This command uses HEAD to get the http headers generated by one of our favorite web applicaions:

[ggeller@arthur ~]$ HEAD http://sdvault.wikiplanet.com/svnweb
200 OK
Connection: close
Date: Sat, 05 May 2007 03:10:00 GMT
Server: Apache/2.2.3 (Fedora)
Content-Type: text/html; charset=UTF-8
Client-Date: Sat, 05 May 2007 03:10:02 GMT
Client-Peer: 192.168.2.94:80
Client-Response-Num: 1
Set-Cookie: svnweb-lang=en

notes

HEAD is based on perl and is part of perl LWP library. On Fedora is comes with the perl-libwww-perl rpm.

see also

man HEAD
Linux_commands
http://www.linuxjournal.com/article/6504 Unicode By Reuven Lerner
Perl/LWP

Personal tools