I’m putting together a list of a terminal commands specific to MacOS that I have been using on a regular basis. I also have a separate list of general Linux commands which I use on a regular basis .
Allow apps for Unverified Developers
Go to privacy and settings and allow the blocked app. Clear the qurantine attribute:
sudo xattr -d com.apple.quarantine ./arm-unknown-linux-gnueabi-gcc
Also, to allow apps from anywhere, use this command:
sudo spctl --master-disable
Listing USB Device Information
system_profiler SPUSBDataType