How to secure a file using a password in Linux?
If you use Linux, you can password-protect any file, which is a good idea if you want to keep it in the cloud or carry it around in a hard drive. We’ll use gpg, a component of GnuPG, to encrypt a file in Linux. Run this command to encrypt the file using a password to …