An article from OSTechNix describes how to use GnuPG in Linux to quickly encrypt and decrypt files from the command line.
Encrypt And Decrypt Files Using GnuPG In Linux - OSTechNix
This guide explains how to encrypt and decrypt files using GnuPG from Commandline in Linux and Unix-like operating systems.