# On computer A with IP 192.168.1.10
$ cat file | nc -l -p 6666
# On computer B
$ nc 192.168.1.10 6666 > file
I thought this was a great example of the power of nc. I could give two flying flux capacitors whether cat was a useless use. Seriously girls, don't chop your hand off when you break a fingernail. This piece is not about squeezing every cpu cycle out of your machine but demonstrating nc. And separating 'cat' with a pipe actually does make more clear exactly what is going on.
I thought this was a great example of the power of nc. I could give two flying flux capacitors whether cat was a useless use. Seriously girls, don't chop your hand off when you break a fingernail. This piece is not about squeezing every cpu cycle out of your machine but demonstrating nc. And separating 'cat' with a pipe actually does make more clear exactly what is going on.
Reply To This Comment