This nmap
command will verbosely scan all 65,535 ports, both tcp and udp, using service probing and operating system detection, and output the results to nmap, greppable, and xml formats.
nmap -vv -p0- -sSUV -O -oA $outputfile $target
[ My Nmap Page | danielmiessler.com ]
::