Try to determine whether the specified hosts are up (ping scan) and what their names are

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 -sn {{ip_or_hostname}} {{optional_another_address}}

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