Saturday, February 28, 2009

find the process id of an application in linux

In one of my previous posts, I talked about killing unresponsive processes in Linux. It is pretty straightforward to find the process ids of applications if you're the only user, but if that's not the case you have to find a clever way. Assume that we want to find the process id of bash. We write
ps -A
to the terminal for seeing all active processes but we don't have 1 hour to inspect all processes. We just want to see the process id of bash. We will use the pgrep command which's basically a grep variant for processes.
pgrep bash
will give us the process id (PID) of bash.

Friday, February 27, 2009

name the node

NASA offers you the chance to name a component (node 3) of a space station and one of the choices is "Serenity". Terrific!

Thursday, February 26, 2009

comic book reader

I use Cdisplay on Windows for reading comic books (in cbr and cbz formats which are basically rar and zip archives containing image files). I searched for a similar application on Linux and found few alternatives. One of the best of these applications is Qcomicbook which can be obtained thru synaptic package manager or by writing "apt-get install qcomicbook" (assuming -of course- your linux distro is debian-based).

italics! everywhere!

Today, I saw that Google's font is in italics and another website's font is in italics and some application's font is in italics; what a lovely coincidence! I had no idea how this happened, but fonts switched to italic mode without asking my opinion. The odd thing's that Firefox doesn't have this problem. For fixing this, I downloaded arial font and installed it. I was planning to download and install all vista fonts, but installing the arial font fixed the problem.