search

Loading
Showing posts with label decrypt files in linux. Show all posts
Showing posts with label decrypt files in linux. Show all posts

Tuesday, May 10, 2011

Quick tip: How to encrypt files in linux

We can easily encrypt files ( whether it is text file,audio or video file) in linux using the command line program called gpg.

To encrypt file:

To encrypt files using gpg, open the terminal and type the following syntax:
  • gpg -c /path to file/filename
gpg is the program we are using to encrypt the file. -c switch is used to create the encrypted file. '/path to file' is the path where the file is located and '/filename' is the name of the file to be encrypted.