File encryption/decryption Linux

Openssl is one of the best tools which can be used to encrypt/decrypt files. You can password protect your important data to avoid misuse. To encrypt your files use the command: openssl des3 -salt -in $FILENAME -out ${FILENAME}.des3 To decrypt the file use the command: openssl des3 -d -salt -in ${FILENAME}.des3 -out ${FILENAME} You can…

2010 in review

The stats helper monkeys at WordPress.com mulled over how this blog did in 2010, and here’s a high level summary of its overall blog health: The Blog-Health-o-Meter™ reads Fresher than ever. Crunchy numbers A Boeing 747-400 passenger jet can hold 416 passengers. This blog was viewed about 11,000 times in 2010. That’s about 26 full…

How to start shell script writing

This is actually, I want to share, how I learned the shell scripting. It may be helpful for beginners. I am writing it step by step so that it will easy to understand: STEP 1: Do your task manually & prepare the steps. If you know the basic Linux commands, it will help you to…

Configure syslog to print the Security violation alarm on user terminal (via Linux Explore)

Open the /etc/rsyslog.conf file for syslog configuration in fedora Linux (some linux like CentOS has /etc/syslog.conf). It will show the something similar as given below: # Log all kernel messages to the console. # Logging much else clutters up the screen. #kern.*                                                 /dev/console # Log anything (except mail) of level info or higher. # Don’t…

Umount a busy partition

Check & close the applications which are using any mounted partition or folder If you are using a separate partition for your applications, you need to mount that partition to a folder. Then only you can store & run the application. But if you want to umount that partition again, first you need to close…