mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-09 20:53:13 +02:00
ncat: update description and style
This commit is contained in:
parent
9b6606587b
commit
4ce03d950c
1 changed files with 3 additions and 4 deletions
|
@ -1,12 +1,11 @@
|
|||
# ncat
|
||||
|
||||
> `cat` over networks.
|
||||
> Use the normal cat functionality 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`
|
||||
`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`
|
||||
`ncat {{address}} {{port}} < {{/path/to/file}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue