Linux/netcat: Difference between revisions

From Wiki
(Die Seite wurde neu angelegt: „== chat == <pre> nc <ip> <port> </pre> <pre> netcat -l -p 1234 </pre>“)
 
No edit summary
Line 5: Line 5:


<pre>
<pre>
netcat -l -p 1234
netcat -l -p <port>
</pre>
 
== serve file ==
<pre>
netcat -l -p <port> < file
</pre>
</pre>

Revision as of 13:05, 6 October 2012

chat

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

serve file

netcat -l -p <port> < file