some of the awk tricks listed here. might come in handy in any of my future shell scripts.
lets start by listing your keys gpg2 –list-keys
most standard versions of linux distro’s come with the newer gpg2 command comes by default. the previous version of gpg is linked to the newer gpg2 packages. this means you may use the gpg and gpg2 command and it will always run the gpg2 command. an excerpt from a centos 7 below explains that
everybody has their own distinct style of using the editor of their choice. when i am using vi, which is always an alias of vim actually, i prefer to have the following defined in the .vimrc file in the root directory of my user on gnu linux/mac os.