linux

I want this in Python


lut4rp: ~]$ history|awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head
69 sudo
58 ls
44 cd
19 lsl
15 git
15 aptitude
13 lsa
12 grep
10 emacs
9 rm

(this is for my new install, just a month old.)

Fixing the irritating Apache 2 warning

For all those who have been using Apache 2 on a localhost on a Linux distro, there's this weird (and very irritating) warning that one gets whenever the Apache server is started or stopped.
Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName

The address you get here might vary, but the error persists. Here's how to fix it -

* Open /etc/apache2/apache2.conf in your favourite text editor.
* Find the line that says ServerRoot "/etc/apache2"
* Add another line below it ServerName "localhost"
* Restart Apache server.
* Heave a sigh of relief from that darn irritant.

NOTE: This is valid only if you are running Apache on a localhost. If you're running it for a different domain, you'll probably need to replace localhost with your host name.

Linux market increasing, search volumes dropping?

Google Trends and Google Insights are two Google sites, which I personally feel, use the massive Google database for a very interesting purpose. Even though Google is very careful about its privacy policy and all (after all, they don't want a Gmail-privacy-issue retake), what I recently noticed is interesting...

A Gartner report recently said that the Linux market share was _not_ 1% after all! Its reportedely around 4%. Now, this was a sudden source of joy to many Linux users and this article was 'dugg' some 600 times...

Microsoft job has Linux/UNIX requirements!!

Microsoft job has Unix/Linux requirements! And will you believe it... This is for Hotmail and Live infrastructure production servers!
This has to be seen to be believed, really... I got this link from someone (sorry I dont remember who) on the ##linux-india IRC channel. It points to the Microsoft Careers website. Read closely and you will notice. I could not digg the original story because the URL was "redirecting in an unfriendly way".

Syndicate content