Closed ChrisCarini closed 5 years ago
I've got a newer Yubikey
and it's listed as YubiKey
rather than Yubikey
Making the grep case-insensitive with -i
would make it work with either capitalization.
ioreg -p IOUSB -l -w 0 -x | grep Yubikey -i -A10 | grep 'idProduct\|idVendor'
Changing the one-liner command(s) to find the product and vendor ids from being separate commands to a single command.