Thread: echo | nc does not work on desktop
this command works expected on ubuntu 8.04.4 lts server (it shows html) not work on ubuntu 10.04.2 lts desktop:
however:code:echo -ne "get / \r\n\r\n" | nc www.google.com 80
works expected on both of them.code:nc www.google.com 80 /
should look, explanation of such difference?
it works me on 11.04 desktop not on 10.04 server. suggests might issue version of netcat-openbsd (which provides nc) on 10.04:
this it:code:netcat-openbsd 1.89-3ubuntu2
https://bugs.launchpad.net/ubuntu/+s...ta/+bug/545075
Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk echo | nc does not work on desktop
Ubuntu
Comments
Post a Comment