The file name is file.dat
The signature file is file.dat.asc
To verify the signature, you must first import the other party's public key.
Gpg-import public key file
Then verify the signature.
gpg -d file.dat.asc
The system will automatically find the file.dat file with the same name.
If no file with the same name is found, you will be prompted to enter it manually.
Gpg now has a version of gpg2, most of which are similar.
However, gpg2 now has some bugs. Gpg is recommended.