Skip to content
Archive of posts filed under the Learning category.

Array of all possible colors in bash script

Sometime back, we had looked at using colors in bash script and here is a way to create a array of all the colors. #!/bin/bash – #=============================================================================== # # FILE: colorarray.sh # # USAGE: ./colorarray.sh # # DESCRIPTION: # # OPTIONS: — # REQUIREMENTS: — # BUGS: — # NOTES: — # AUTHOR: Amit Agarwal [...]

colors in bash scripts

I have been trying to understand the color codes for bash for a pretty long time, but somehow never got time to understand this clearly. So this time around when I was writing a script to analyze some logs. I thought I will give it a go and finally understood some part of this. So, [...]

Your own local search engine.

There are times when you would want to have a local search engine capable of indexing even pdf and doc files. So here is a solution. You can use “Omega” and here are the instructions. download omega from http:// xapian.org/download yum install xapian libuuid-devel And then make and install omega and for this you can [...]