check if nmap command runs