Kill all processes of a user

The following command will kill all processes belong to a single user on Linux. pkill -u username Credit: Linux – Kill all processes for a user

May 9, 2011 · 1 min · 26 words · kenno

Playing .ass subtitles with mplayer

$ mplayer -ass -sub subtitle.ass file.avi

August 29, 2010 · 1 min · 6 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.k.a profile). It’s called MozBackup. ...

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

HOWTO add user to sudoers list in Debian/Ubuntu

You need to have root access to do that. So the first step to become root with the following command: ken@debian:~$ su<br /> Password:<br /> debian:/home/ken# visudo<br /> Now you can add a username to the list. For example: <br /> ken ALL=(ALL) ALL<br /> Save the file to complete the process. Credit: Ubuntu Forum

January 27, 2009 · 1 min · 55 words · kenno

Vim Tip: Insert Time-Stamp

To insert time-stamp in a file, you can exit from edit mode and type: :r! date

August 3, 2006 · 1 min · 16 words · kenno