|  About Me  |  Blogs  |  Photos  |  Publications  |  Resume  | 

Archive for October, 2004

AWStats - web log analyser

Tuesday, October 5th, 2004

I wanted an easy way to monitor web visit statistics on my low traffic website. I looked around and found AWStats and Webalizer. Here’s a comparion of different log analyers, mind it’s hosted by AWStats. Nonetheless AWStats seems to be preferred from user posts on forums for it is said to be more accurate and [...]

No duplicates in bash history

Tuesday, October 5th, 2004

We can use a bash variable HISTCONTROL to turn off duplicates in bash history. It can be one of three values:

HISTCONTROL=’ignoreups’ means to not enter lines which match the last entered line

HISTCONTROL=’ignorespace’ means to not enter lines which begin with a space or tab into the history list

HISTCONTROL=’ignoreboth’ does both

We can export it in bashrc

export [...]