mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-10-30 16:18:20 +01:00
improve nc.md
add server & stay up
This commit is contained in:
parent
9c6efdc56b
commit
fff41a3604
1 changed files with 8 additions and 0 deletions
|
@ -21,3 +21,11 @@
|
|||
- receive a file
|
||||
|
||||
`nc {{ip_address}} {{port}} > somefile.txt`
|
||||
|
||||
- server stay up after client detach
|
||||
|
||||
`nc -k -l {{port}}`
|
||||
|
||||
-- client stay up after EOF
|
||||
|
||||
`nc -q {{timeout}} {{ip_address}}`
|
||||
|
|
Loading…
Reference in a new issue