News for hackers. Stuff that matters.
Re:Cool stuff you can do with netcat by silentbicycle on Friday November 05, 2010 @12:52PM (#1873891)
1. Schlepping files between computers.

computer A:

    nc -l $ARBITRARY_PORT | tar vzxf -
computer B:

    tar vzcf - files_or_directories | nc computer_a $ARBITRARY_PORT
2. Testing socket servers:

    cat canned_request | nc server 80
There are probably other things, but I don't think, "Oh, this is a good use for netcat", I just do it. It's almost as handy as awk.
Re:Cool stuff you can do with netcat by wazoox on Saturday November 06, 2010 @06:17AM (#1876590)
> Schlepping files between computers.

What about using rsync instead ?

Re:Cool stuff you can do with netcat by silentbicycle on Saturday November 06, 2010 @05:32PM (#1877811)
nc is simple and I know its syntax. rsync is more powerful, but I need to look up its options half the time.
Re:Cool stuff you can do with netcat by wazoox on Sunday November 07, 2010 @04:01AM (#1879045)
"rsync source host:destination" just works, no need for options :)