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

Merge pull request #966 from AgamAgarwal/useless-cat

Removed useless use of cat
This commit is contained in:
Felix Yan 2016-07-22 04:44:49 -05:00 committed by GitHub
commit 1a40b65b77

View file

@ -16,11 +16,11 @@
- Serve a file:
`cat somefile.txt | nc -l {{port}}`
`nc -l {{port}} < {{somefile.txt}}`
- Receive a file:
`nc {{ip_address}} {{port}} > somefile.txt`
`nc {{ip_address}} {{port}} > {{somefile.txt}}`
- Server stay up after client detach: