How to show the systemd machine ID
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