One Day One Cmd

Place for playing with commands…

Day 98:$gpg -c command

ODOC:About gpg -c command

This command is used to Encrypt a file.


I am creating a file names “aaa” in my desktop.
Then I am going to my desktop using cd command.

praveen@praveen-desktop:~/Desktop$ gpg -c aaa
Enter passpharse: _
Repeat passpharse: _

Now it ask passpharse for the file, Then ask retype passpharse.
After putting passpharse, it show’s like this

praveen@praveen-desktop:~/Desktop$ _

That’s all you are successfully created a Encrypted file.
Now you can see encrypted file names “aaa.gpg” in your desktop

With Regards,
S. Praveen

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: