1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-10 16:13:31 +02:00

ncat: update description and style

This commit is contained in:
Polle Vanhoof 2017-11-06 12:00:45 +01:00 committed by GitHub
parent 9b6606587b
commit 4ce03d950c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,12 +1,11 @@
# ncat # 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: - 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: - 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}}`