xdg-open
- On Debian/Ubuntu:
apt-get install xdg-utils
- On Fedora
dnf install xdg-utils
- On Debian/Ubuntu:
brew install nmap
$ ./nmap-html {target specification} [output file name]
TARGET SPECIFICATION:
Can pass hostnames, IP addresses, networks, etc.
OUTPUT (optional):
Filename to the xml and html file generated. Default is 'report'.
./nmap-html 192.168.1.0/24