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}}`