From Fedora Project Wiki

Description

This test case detects that a remote host is alive using nmpa and guesses the opertaing system.

Setup

Ensure the nmap package is installed.

How to test

  1. Run nmap -O ip_or_hostname

Expected Results

 Starting Nmap 7.80 ( https://nmap.org ) at 2021-06-16 16:31 IST
Nmap scan report for MyRouter (192.168.)
Host is up (0.000064s latency).
Other addresses for MyRouter (not scanned): fe80::9ac4:2c1e:8d03:bb4d 192.168.122.1
Not shown: 999 closed ports
PORT   STATE SERVICE
22/tcp open  ssh
Device type: general purpose
Running: Linux 2.6.X
OS CPE: cpe:/o:linux:linux_kernel:2.6.32
OS details: Linux 2.6.32
Network Distance: 0 hops