Check if an IP address is up, and guess the remote host's operating system

nmap

  • Network exploration tool and security / port scanner.
    Some features only activate when Nmap is run with root privileges.
    More information: <https://nmap.org>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

nmap -O {{ip_or_hostname}}

click the source code to copy install nmap on any operating system with command-not-found.com