snippetbashTip
hostid — Print the numeric identifier for the current host (not necessarily the IP address). More information
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:
hostidCode Snippets
Display the numeric identifier for the current host in hexadecimal
hostidContext
tldr-pages: common/hostid
Revisions (0)
No revisions yet.