mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-13 10:18:51 +03:00
ncat: add page (#1620)
This commit is contained in:
commit
4b9550be70
11
pages/linux/ncat.md
Normal file
11
pages/linux/ncat.md
Normal file
@ -0,0 +1,11 @@
|
||||
# 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}}`
|
Loading…
Reference in New Issue
Block a user