tldr/pages/linux/ncat.md
2017-11-06 12:00:45 +01:00

306 B

ncat

Use the normal cat functionality over networks.

  • Listen for input on the specified port and write it to the specified file:

ncat -l {{port}} > {{/path/to/file}}

  • Write output of specified file to the specified host on the specified port:

ncat {{address}} {{port}} < {{/path/to/file}}