cURL / Mailing Lists / curl-users / Single Mail

curl-users

When running cat filename |xargs -i curl -sIL -w "%{http_code} %{url_effective}\n" -o /dev/null {} - curl get stuck on some websites

From: Liran ... <reactor.leet_at_gmail.com>
Date: Sun, 11 Jul 2010 16:00:41 +0300

I ran it on Debian 5 32bit

I ran the command: cat filename |xargs -i curl -sIL -w "%{http_code}
%{url_effective}\n" -o /dev/null {}

the filename contains IP address in each line

it getting stuck on some URL's that I have no problem connecting them

I'm trying to get the HTTP response code like 200, 401 and 404

Thanks

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-07-11