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