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:
commit
1a40b65b77
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue