I tried running nc -lnvp 1234 > filename.log
on my macOS today and it returned this error saying I need to specify a port number, while I specified the port number on my command.
This command always works on my Debian and Ubuntu, is there a reason why its different on macOS?
I tried the same command in my Debian based machine and it worked.
What should I do?
man nc
and it says i am running netcat, however i cant seem to get the version no matter what command i use, and its not specified in the manual what option returns the version.netcat
vssocat
vsNcat
vsnc
mess, the cause of which was the same design weakness that lead to the disk imaging and wiping tool proliferation on Windows: lack of an acceptable OS facility". Plan 9 fixed this design misstep and I wish all Unix-like systems work out a single universal interface some day. (Silly me?)