From 06b697b9f7e84cfb93a70f2629a0e3ef97620df8 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Wed, 30 Dec 2020 13:58:06 +0000 Subject: [PATCH] nc: remove redundant examples --- pages/common/nc.md | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/pages/common/nc.md b/pages/common/nc.md index 32ad3e0ed5..72a7f72203 100644 --- a/pages/common/nc.md +++ b/pages/common/nc.md @@ -15,19 +15,11 @@ `nc -w {{timeout_in_seconds}} {{ipaddress}} {{port}}` -- Serve a file: - -`nc -l {{port}} < {{file}}` - -- Receive a file: - -`nc {{ip_address}} {{port}} > {{file}}` - -- Server stay up after client detach: +- Keep the server up after the client detaches: `nc -k -l {{port}}` -- Client stay up after EOF: +- Keep the client up even after EOF: `nc -q {{timeout}} {{ip_address}}`