#Receiver
nc -l -p <port_number> -q 1 > something.zip < /dev/null
#Sender
cat something.zip | netcat <receiver_ip> <port_number>
nc -l -p 1234 > out.file #Receiving side
nc -w 3 [destination] 1234 < out.file #Sending side
Code Example |
---|
Shell :: |
:: |
Shell :: |
:: |
Shell :: |
:: |
:: |
Shell :: |
:: |
Shell :: |
:: install python poetry |
:: |
:: |
:: |
:: git revert pr merge |
Shell :: |
:: |
:: |
:: |
:: |
:: |
Shell :: |
:: |
:: |
:: |
:: |
Shell :: |
:: |
:: |
:: |