- Why I am not able to use
-zoption withnccommand which is provided bynmap-ncatpackage in Red Hat Enterprise Linux 7?
[root@localhost ~]# nc -z -w1 192.168.0.1 80 >/dev/null ;Rc="$?" ;echo $Rc
nc: invalid option -- 'z'
Ncat...A translation for your language preference does not exist. Click below to request a translation for your selected language.
-z option with nc command which is provided by nmap-ncat package in Red Hat Enterprise Linux 7?[root@localhost ~]# nc -z -w1 192.168.0.1 80 >/dev/null ;Rc="$?" ;echo $Rc
nc: invalid option -- 'z'
Ncat...A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.