Howtodojo logo
  • Home 
  • About 
  • Certifications 
  • Sample Database 
  • Cheatsheet 
  • Glossary 
  • Blog 
  • Tags 
  1.   Linux Commands
  1. Home
  2. Guides
  3. Linux Commands
  4. Linux hostid Command

Linux hostid Command

Share via
Howtodojo
Link copied to clipboard

In this tutorial we will learn how to use hostid command in linux. hostid command print numeric identifier of current host.

On this page
What is Linux hostid Command?   hostid Command Syntax   Using hostid Command in Linux   hostid Command Manual / Help   Linux hostid Command Source Code   Related Linux Commands   Summary  

What is Linux hostid Command?  

In this tutorial we learn how to use hostid command in Linux. hostid command print the numeric identifier for the current host.

hostid Command Syntax  

hostid [OPTION]

Using hostid Command in Linux  

Since there are no options or parameters to be passed to the hostid command, to use hostid, we can just run the command

hostid
007f0101

hostid Command Manual / Help  

We can use man and info command to see the manual page of hostid command.

hostid command also have --help option to show list of options.

To open man page for hostid command we can use command below. To exit man or info page you can press q.

man hostid

To open info page for hostid command we can use command below.

info hostid

To open help page from hostid command we can run command below.

hostid --help

Linux hostid Command Source Code  

You can find hostid command source code from the folowing repositories:

  • hostid source code on GitHub
  • hostid source code on GNU Savannah cgit
  • hostid source code on GNU Savannah gitweb

Related Linux Commands  

You can read tutorials of related Linux commands below:

  • hostname command in Linux
  • host command in Linux
  • dig command in Linux

Summary  

In this tutorial we learn how to use hostid in Linux with practical examples. Visit our Linux Commands guide to learn more about using command line interface in Linux.

 Linux link command
Linux cksum Command 
On this page:
What is Linux hostid Command?   hostid Command Syntax   Using hostid Command in Linux   hostid Command Manual / Help   Linux hostid Command Source Code   Related Linux Commands   Summary  
Follow me

We publish tutorials, tips and tricks about Linux, open source, cloud computing, and infrastructure

     
Copyright © 2012 - 2025 howtodojo.com. |
Howtodojo
Code copied to clipboard