hostid command in Linux with examples

hostid is a command in linux which is used to displays the Host’s ID in hexadecimal format.


hostid [OPTION]

Options provided by hostid:

  • hostid --help : It displays help information.
  • hostid --version : It displays version infromation.

My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using or mail your article to See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.