CmdID / Commands
Get basic information from a YubiKey. tldr-pages
On several platforms
Opens CmdID with your command. It is read in your browser and sent nowhere.
Display all information from YubiKey
ykinfo -a
Get only serial in decimal from YubiKey
ykinfo -s -q
Get capabilities from YubiKey
ykinfo -c