ykinfo
Get basic information from a YubiKey. More information: https://developers.yubico.com/yubikey-personalization/Manuals/ykinfo.1.html.
- Display all information from YubiKey:
ykinfo -a
- Get only serial in decimal from YubiKey:
ykinfo -s -q
- Get capabilities from YubiKey:
ykinfo -c