« Back to Systemd: Frequently Asked Questions

How to show the systemd machine ID

How to show the systemd machine ID?

Run hostnamectl to see operating systems details including the machine ID that is generated by systemd.

hostnamectl

With the hostnamectl command basic system information like the operating system, hostname, and machine ID can be displayed.

Usage

Run the command without any parameters to get the status displayed, including the machine ID.

hostnamectl

Other questions related to Systemd

Related articles

Like to learn more? Here is a list of articles within the same category or having similar tags.

Feedback

Small picture of Michael Boelen

This article has been written by our Linux security expert Michael Boelen. With focus on creating high-quality articles and relevant examples, he wants to improve the field of Linux security. No more web full of copy-pasted blog posts.

Discovered outdated information or have a question? Share your thoughts. Thanks for your contribution!

Mastodon icon