Hostnamectl
How to show the systemd machine ID
Find the machine ID that was generated by systemd.
Summary
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