To list all open ports in our local machine
Namp database of ports to the service
To save nmap scan to a file
Nmap usually scans TCP ports to scan UDP based ports
To check a purticular port is listening or not
To get OS finger print of a remote system
To scan an ip range in a file
# nmap -v localhost
Namp database of ports to the service
# /usr/share/namp/nmap-service
To save nmap scan to a file
# nmap -V -oN namp.scan.1 localhost
Nmap usually scans TCP ports to scan UDP based ports
# namp -v -sU localhost
To check a purticular port is listening or not
# namp -v -p 631 localhost
To get OS finger print of a remote system
# nmap -v -o remoteserver
To scan an ip range in a file
# namp iL filename
To list all the machine that are up and running in the current networl
# namp -iL uu