Never used the netcat before
============================
I know that the netcat(1) is cool but I never needed to actually use
it. Until today. I have had two Linux laptops without configured
SSH/FTP or anything like that. I needed to transfer some date from one
to another. Both were on a local WiFi network.
The NetCAT means cat(1) ower the network, right?
So on the target one it was:
netcat -l -p 66 |tar xvf -
and on the source machine it was:
tar czvf - directory | netcat 10.0.1.xx 66
The port must be specified on both. And I probably should the bzip2(1)
(the "j" instead of the "z" flag for the tar(1)) to make it faster. The
stuff worked anyway. I know it's probably insecure but it was a local
network.