I read some docs but I have no Mac boxes to test.
From the docs I build this command
ioreg -c IOPlatformExpertDevice -n IOPlatformUUID
Questions:
Is the above command correct? I am not sure: should be -n or -k to specify the property name ?
Does it require "administrator" privileges or can a normal user account run it?
Thanks
I read some docs but I have no Mac boxes to test.
From the docs I build this command
ioreg -c IOPlatformExpertDevice -n IOPlatformUUID
Questions:
Is the above command correct? I am not sure: should be -n or -k to specify the property name ?
Does it require "administrator" privileges or can a normal user account run it?
Thanks
Share Improve this question asked Mar 15 at 15:58 MassimoMassimo 3,4863 gold badges32 silver badges42 bronze badges1 Answer
Reset to default 1You should use -k instead of -n.
The -k flag filters the output to show only entries that have the specified property key.
The command must be :
ioreg -c IOPlatformExpertDevice -k IOPlatformUUID