How can I retrieve the information shown in the Mac’s System Profiler app programatically? I’m actually interested in the USB section if that matters.
How can I retrieve the information shown in the Mac’s System Profiler app programatically?
Share
Take a look at the system_profiler(8) command.