Section: OpenSC tools (1)
Return to Main Contents
opensc-tool - generic smart card utility
utility can be used from the command line to perform miscellaneous smart card operations such as getting the card ATR or sending arbitrary APDU commands to a card.
Print the Answer To Reset (ATR) of the card, output is in hex byte format
Print the card serial number (normally the ICCSN), output is in hex byte format
--send-apdu apdu, -s apdu
Sends an arbitrary APDU to the card in the format AA:BB:CC:DD:EE:FF...
Recursively lists all files stored on card
Lists all configured readers
Lists all installed card drivers
Lists all installed reader drivers
--reader num, -r num
Use the given reader number. The default is 0, the first reader in the system.
--card-driver driver, -c driver
Use the given card driver. The default is auto-detected.
to be more verbose. Specify this flag several times to enable debug output in the opensc library.
- SEE ALSO
linux.jgfs.net manual pages