Browse Source

ncat: update description and style

Polle Vanhoof 7 years ago
parent
commit
4ce03d950c
1 changed files with 3 additions and 4 deletions
  1. 3 4
      pages/linux/ncat.md

+ 3 - 4
pages/linux/ncat.md

@@ -1,12 +1,11 @@
 # ncat
 
-> `cat` over networks.
-> Use the normal cat functionality 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`
+`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`
+`ncat {{address}} {{port}} < {{/path/to/file}}`