mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-30 09:55:30 +02: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
|
- receive a file
|
||||||
|
|
||||||
`nc {{ip_address}} {{port}} > somefile.txt`
|
`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…
Add table
Reference in a new issue