macOS / binaries /

hostid

/usr/local/bin/hostid
Print the numeric identifier for the current host

hostid prints the numeric identifier (in hexadecimal) for the current host.