Cheatsheet
I'm not googling that again
oathtool is a very useful utility to generate and validate OTP codes (and more).
# The -b flag tells oathtool to expect the key in base32 encoding
# --totp tells it to compute the totp
oathtool -b --totp '<secret>'