소스 검색

ncat

ncat: create page
Polle Vanhoof 7 년 전
부모
커밋
f7b7265c3e
1개의 변경된 파일12개의 추가작업 그리고 0개의 파일을 삭제
  1. 12 0
      pages/linux/ncat.md

+ 12 - 0
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`