hostid Linux Commands

What is Linux hostid Command?

Explanation

hostid COMMAND:

hostid command prints the numeric identifier or id of the current host in hexadecimal.

SYNTAX :


hostid

OPTIONS:


--help Print help message and exit
--version Print version and exit

EXAMPLE:


  1. To Print host id:
    hostid
    a3b50706

    This command prints the hostid in hexadecimal.

Ask Questions

Ask Question