Netcat Sample
// I usually do this when something is wrong with my HTTP server. Rather than telnetting, it much-much-much shorter
echo -e "GET / HTTP/1.0\r\n\r\n" | nc 127.0.0.1 80
At: 2008-11-27 12:58 | By: ferdhie | Tags: bash,netcat | 0 Comments | Tweet | FB share
// I usually do this when something is wrong with my HTTP server. Rather than telnetting, it much-much-much shorter
echo -e "GET / HTTP/1.0\r\n\r\n" | nc 127.0.0.1 80