From f7b7265c3e9dca6a719b7ec4b14dfc1ea13a3170 Mon Sep 17 00:00:00 2001 From: Polle Vanhoof Date: Wed, 1 Nov 2017 20:52:54 +0100 Subject: [PATCH] ncat ncat: create page --- pages/linux/ncat.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 pages/linux/ncat.md diff --git a/pages/linux/ncat.md b/pages/linux/ncat.md new file mode 100644 index 0000000000..d52d678da8 --- /dev/null +++ b/pages/linux/ncat.md @@ -0,0 +1,12 @@ +# ncat + +> `cat` over networks +> Use the normal cat functionality over networks + +- Listen for input on the specified port and write it to the specified file: + +`ncat -l {{port}} > /path/to/file` + +- Write output of specified file to the specified host on the specified port: + +`ncat {{address}} {{port}} < /path/to/file`