Archive for April, 2009

How to encrypt all files on your hard drive in Linux and Windows

This article will introduce you to a free, open-source software called TrueCrypt, which encrypts files on your hard drive. This software can be used on Linux, MacOS, Windows XP, Windows Vista, and Windows 2003/2008. TrueCrypt encrypts/decrypts all file names, directory names, file contents, etc on your hard drive in memory (RAM), without any user intervention. [...]

Click here to read the full post

How to parse a decimal number using ‘awk’ and ‘cut’ in Linux

This article will show you how to parse a decimal number (such as a software release number) into individual parts. For example, you can do this if you need to compare the the minor release number of two versions. There are numerous ways to accomplish the same thing using Linux and I will show you [...]

Click here to read the full post

How to compare 2 files using ‘diff’ in Linux

This article will introduce you to the diff command on Linux which is used to compare two files and display the “differences” between the two. I will also provide you with a Bash shell script to compare two files and simply output if they are the same or not. Lets begin with the basic usage [...]

Click here to read the full post