Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

send file netcat

#Receiver
nc -l -p <port_number> -q 1 > something.zip < /dev/null

#Sender
cat something.zip | netcat <receiver_ip> <port_number>
Comment

send file netcat

nc -l -p 1234 > out.file #Receiving side
nc -w 3 [destination] 1234 < out.file #Sending side
Comment

PREVIOUS NEXT
Code Example
Shell ::  
::  
Shell ::  
::  
Shell ::  
::  
::  
Shell ::  
::  
Shell ::  
:: install python poetry 
::  
::  
::  
:: git revert pr merge 
Shell ::  
::  
::  
::  
::  
::  
Shell ::  
::  
::  
::  
::  
Shell ::  
::  
::  
::  
ADD CONTENT
Topic
Content
Source link
Name
8+6 =