Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jun 2005 23:00:17 +0200
From:      =?ISO-8859-1?Q?Bj=F6rn_K=F6nig?= <bkoenig@cs.tu-berlin.de>
To:        brianjohn@fusemail.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: utility that will dump a web page to std out?
Message-ID:  <42B72E61.8050204@cs.tu-berlin.de>
In-Reply-To: <1099.209.87.176.4.1119272748.fusewebmail-19592@webmail.fusemail.com>
References:  <1099.209.87.176.4.1119272748.fusewebmail-19592@webmail.fusemail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Yet some other solutions:

with bash:

( printf 'GET / HTTP/1.0\n\n' >&3 & cat 0<&3 ) 3<> 
/dev/tcp/www.freebsd.org/80

with netcat:

printf 'GET / HTTP/1.0' | nc www.freebsd.org 80


Björn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42B72E61.8050204>