Categories
gnu/linux

awk tricks

some of the awk tricks listed here. might come in handy in any of my future shell scripts.

Categories
gnu/linux

gpg2 – importing, exporting and revoking your keys

lets start by listing your keys

gpg2 --list-keys
Categories
gnu/linux

gpg2 – using the OpenPGP encryption and signing tool to encrypt and decrypt

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

Categories
gnu/linux

my .vimrc file

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.