tldr/pages/linux/ncat.md

13 lines
319 B
Markdown
Raw Normal View History

2017-11-01 19:52:54 +00:00
# ncat
2017-11-01 21:48:18 +00:00
> `cat` over networks.
> Use the normal cat functionality over networks.
2017-11-01 19:52:54 +00:00
- 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`