Sunday, May 26, 2013

How to Encrypt Files in Linux

To encrypt a file we are going to use gpg software. That software is a command line executable software. First you need to install it if it is not installed before in your pc. To do this open a terminal and type:

sudo apt-get install gpg

After that compress the file you want to encyrpt. And type in the terminal

gpg -c fodername.tar.gz

and then type your password twice. It's done :). Delete the file you encrypted. Use foldername.tar.gz.gpg file to access your files.
To pass the password and reach your files again type:

gpg foldername.tar.gz.gpg

Read More

How to shutdown the Linux PC automatically at a specific time

Linux has a beautiful code which provides the PC can close itself at a specific time which is determine by the user. :)
To do this use the command given the next line:

sudo shutdown -h x

here x is the time with unit of minutes.
Read More