To show the http meta information such as modification date or file size without downloading actually the data you can use the following commands:
$ HEAD http://www.georglutz.de/blog 200 OK Cache-Control: no-cache, pre-check=0, post-check=0 Connection: close Date: Sat, 05 Sep 2009 18:12:30 GMT Pragma: no-cache ETag: "Sat, 05 Sep 2009 09:11:22 GMT" Server: Apache/2.0.52 (CentOS) Content-Type: text/xml; charset=utf-8 Expires: 0 Last-Modified: Sat, 05 Sep 2009 09:11:22 GMT Client-Date: Sat, 05 Sep 2009 18:12:31 GMT Client-Peer: 85.214.18.185:80 Client-Response-Num: 1 Set-Cookie: PHPSESSID=xyz; path=/ Set-Cookie: PHPSESSID=abc; path=/ Status: 200 OK X-Blog: Serendipity X-Powered-By: PHP/4.3.9 X-Serendipity-InterfaceLang: de X-Serendipity-InterfaceLangSource: Content-Negotiation X-Session-Reinit: true $ wget -S --spider http://www.georglutz.de/blog/feeds/index.rss Spider-Modus eingeschaltet. Prüfe ob die Datei auf dem Server existiert. --2009-09-05 20:13:38-- http://www.georglutz.de/blog/feeds/index.rss Auflösen des Hostnamen »www.georglutz.de«.... 85.214.18.185, 2002:55d6:12b9::1 Verbindungsaufbau zu www.georglutz.de|85.214.18.185|:80... verbunden. HTTP Anforderung gesendet, warte auf Antwort... HTTP/1.1 200 OK Date: Sat, 05 Sep 2009 18:13:38 GMT Server: Apache/2.0.52 (CentOS) X-Powered-By: PHP/4.3.9 Status: 200 OK Set-Cookie: PHPSESSID=xyz; path=/ Expires: 0 Cache-Control: no-cache, pre-check=0, post-check=0 Pragma: no-cache Set-Cookie: PHPSESSID=abc; path=/ X-Session-Reinit: true X-Serendipity-InterfaceLangSource: Content-Negotiation X-Serendipity-InterfaceLang: de X-Blog: Serendipity Last-Modified: Sat, 05 Sep 2009 09:11:22 GMT ETag: "Sat, 05 Sep 2009 09:11:22 GMT" Connection: close Content-Type: text/xml; charset=utf-8 Länge: nicht spezifiziert [text/xml] Datei auf dem Server existiert.
In Fedora 10 HEAD
is part of the package perl-libwww-perl
.