# system_profiler

system_profiler is a macOS specific command that reports system hardware and software configuration.

View details about connected USB devices

The USB device details presented are similar to what can be found in System Report.

system_profiler SPUSBDataType