Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
unix networking


Duplex between to terminals

# start
$ nc -l 1234
# listen
$ nc 1234

Transfer files

# start and capture to file
$ nc -l 1234 > file.out
# listen and send file
$ nc host port <


$ nmap url

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment