mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
13 lines
317 B
Markdown
13 lines
317 B
Markdown
![]() |
# ncat
|
||
|
|
||
|
> `cat` over networks
|
||
|
> 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`
|