How to encrypt and decrypt a file in Linux, password protected

view full story

http://www.go2linux.org – Security is important, we all know, and to protect files in Linux Operating System machines is really easy. The files can be password protected, so you can carry them in a flash memory, and if you loose the flash, you do not have to worry about your info, as it will not be readable. To encrypt a file in Linux we will use, gpg which is parte of the GnuPG. <!--break--> Syntax of gpg gpg -c filename.ext Let's imagine we have a file called my-personal-info.txt I want to encrypt with a password to protect the file, run this command. (HowTos)