Logwatch for Linux Systems.

2010-06-02 2 min read Fedora Linux

On my personal <a class="zem_slink freebase/en/client" title="Client (computing)" rel="wikipedia" href="http://en.wikipedia.org/wiki/Client_%28computing%29">desktop at home, I like to see the <a class="zem_slink freebase/en/statistics" title="Statistics" rel="wikipedia" href="http://en.wikipedia.org/wiki/Statistics">statistics at least once a day, for what was installed, what was run with <a class="zem_slink freebase/en/sudo" title="Sudo" rel="homepage" href="http://www.sudo.ws/">sudo and other such details like <a class="zem_slink freebase/en/kernel" title="Kernel (computing)" rel="wikipedia" href="http://en.wikipedia.org/wiki/Kernel_%28computing%29">kernel errors.

Running this monotonously every day is quite boring, so comes to rescue is logwatch. I have <a class="zem_slink freebase/en/fedora" title="Fedora" rel="homepage" href="http://fedoraproject.org/">Fedora <a class="zem_slink freebase/en/installation" title="Installation (computer programs)" rel="wikipedia" href="http://en.wikipedia.org/wiki/Installation_%28computer_programs%29">installation so I will talk about the location with respect to that so for your distribution it might be a little different.

Continue reading

Gentoo, Knoppix and Linux Console Screenshots

2010-02-03 2 min read Linux

Finally I decided to try a few distro&#8217;s that I downloaded with Beldi.

  1. Gentoo: Quite Small distribution. Did not configure my DHCP address and also did not start a X window also so did not try too much.

<a href="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/02/gentoo.jpg"><img class="size-medium wp-image-204" title="gentoo" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/gentoo-300x224.jpg" alt="gentoo" width="300" height="224" />

<a href="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/02/gentoo2.jpg"><img class="size-medium wp-image-205" title="gentoo2" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/gentoo2-300x224.jpg" alt="gentoo2" width="300" height="224" />

  1. Knoppix: Well known for its recovery functions, the Live CD does discover all the hardware and boots pretty nicely to the X windows directly with the ethernet configured.
    I specially liked the fact that the boot up to X window theme looked quite similar and the background did not change which is quite soothing. And no doubt the desktop background included by default is quite good.

<a href="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/knoppix.jpg"><img class="size-medium wp-image-207" title="knoppix" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/knoppix.jpg" alt="knoppix" width="192" height="144" />

Continue reading

shell — one liner to selectively change case

2010-01-07 2 min read Bash

Today I had a hard time, I had a herculian task of converting the case of file to upper case. Well that&#8217;s not difficult :), I know. What made it difficult was the fact that not the whole file had to be converted but only selective lines containing the work important. Okay now that too is not so difficult, I thought. But again the file size was huge, it had some 9 million lines. So, I just thought of trying my skills of shell programming (dont have much of it anyway). So here&#8217;s what I did:

Continue reading