Linux/netcat: Difference between revisions

From Wiki
No edit summary
No edit summary
Line 1: Line 1:
* http://ubuntuforums.org/showthread.php?t=828870
== chat ==
== chat ==
<pre>
<pre>

Revision as of 13:09, 6 October 2012


chat

nc <ip> <port>
netcat -l -p <port>

serve file

netcat -l -p <port> < file


clone hdd

netcat -l -p <port> | dd of=/dev/sdb
dd if=/dev/sdb | nc <ip> <port>