HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

hostid — Print the numeric identifier for the current host (not necessarily the IP address). More information

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandhostidnumericidentifiercliprintfor

Problem

How to use the hostid command: Print the numeric identifier for the current host (not necessarily the IP address). More information: <https://www.gnu.org/software/coreutils/manual/html_node/hostid-invocation.html>.

Solution

hostid — Print the numeric identifier for the current host (not necessarily the IP address). More information: <https://www.gnu.org/software/coreutils/manual/html_node/hostid-invocation.html>.

Display the numeric identifier for the current host in hexadecimal:
hostid

Code Snippets

Display the numeric identifier for the current host in hexadecimal

hostid

Context

tldr-pages: common/hostid

Revisions (0)

No revisions yet.