diff --git a/pages/linux/ncat.md b/pages/linux/ncat.md new file mode 100644 index 000000000..6b6a7322a --- /dev/null +++ b/pages/linux/ncat.md @@ -0,0 +1,11 @@ +# ncat + +> 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}}`