Nmap is a utility for network exploration or security auditing. It supports ping scanning (determine which hosts are up), many port
scanning techniques, version detection (determine service protocols and application versions listening behind ports), and TCP/IP
fingerprinting (remote host OS or device identification). Nmap also offers flexible target and port specification, decoy/stealth scanning,
sunRPC scanning, and more. Most Unix and Windows platforms are supported in both GUI and commandline modes. Several popular handheld devices are also supported, including the Sharp Zaurus and the iPAQ.

 

Nmap 7.40 change log:

 - 12 new NSE scripts
   - Hundreds of updated OS and version detection detection signatures
   - Faster brute force authentication cracking and other NSE library
   improvements
   - A much-improved version of our Npcap Windows packet capturing
   driver/library

How to update Nmap:

  1. Download Nmap released tarball here
  2. Extract this file
  3. Use command:
    [email protected] ~/Downloads/nmap-7.25BETA1 $ ./configure
    [email protected] ~/Downloads/nmap-7.25BETA1 $ make
    [email protected] ~/Downloads/nmap-7.25BETA1 $ sudo make install
  4. Enjoy

You can view some good tutorial about nmap here.