If someone comes and tells you “I can’t login to my Linux box” what would you do?

You can do many things, but one of them has to be: check the bloody log file.

April 16, 2010 · 1 min · 17 words · kenno

Enable sudo insults

Look for line begins with Defaults, and append insults to the end. Save it, and clear the sudo session (sudo -K), and try sudo with a wrong password. 🙂 Source: Enable sudo insults for some laughs

April 15, 2010 · 1 min · 36 words · kenno

Enable Japanese input on Debian/Ubuntu

Normally, I would install Scim and Anthy for Japanese input method on Debian. Recently, I found an easier way to achieve the same thing, which is to use IBus instead of Scim. Install ibus: sudo apt-get install ibus ibus-anthy ibus-gtk From the menu, System -> Preferences -> IBus Preference IBus Preference should detects that you have run IBus daemon yet, click “Yes” to run it. You’ll be asked to edit your ....

March 14, 2010 · 1 min · 150 words · kenno

How to tell which Linux distro you’re running

Update: Thanks to Jayen, there is a better way: $ lsb_release -a<br /> No LSB modules are available.<br /> Distributor ID: Ubuntu<br /> Description: Ubuntu 9.10<br /> Release: 9.10<br /> Codename: karmic<br /> — $ cat /etc/issue<br /> Debian GNU/Linux squeeze/sid n l<br /> Or <br /> $ cat /proc/version<br /> Linux version 2.6.32-trunk-686 (Debian 2.6.32-5) (ben@decadent.org.uk) (gcc version 4.3.4 (Debian 4.3.4-6) ) #1 SMP Sun Jan 10 06:32:16 UTC 2010<br /> Source: Which Linux Distro are you using?...

February 3, 2010 · 1 min · 79 words · kenno

Profile backup - Mozilla FireFox and Thunderbird

At work, a colleague is struggling to get his PC up and running for a few days now. To add an insult to injury, he also lost some of his Microsoft Outlook back up emails. Seeing what happened to him, it’s a good reminder that I shall back up my files and emails too. I use Mozilla Thunderbird (2.0.0.22), and I found a very nice tool to back up the emails (a....

August 13, 2009 · 1 min · 88 words · kenno