Sending files over network with 'netcat'
To send a file just:
nc -l 1337 < file.txt
Then at the client:
nc 192.168.2.100 1337 > file.txt
Just change the IP and PORT according to your scenario.
For more great stuff: http://mylinuxbook.com/linux-netcat-command/
Written by Osvaldo Zonetti
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#