To verify and list the fingerprint of the key (without importing it into the keyring first), type
gpg --with-fingerprint <filename>
Edit: on Ubuntu 18.04 (gpg 2.2.4) the fingerprint isn't show with the above command. Use the --with-subkey-fingerprint
option instead
gpg --with-subkey-fingerprint <filename>