Archive for April, 2008

Eclipse PDT #3

Sunday, April 20th, 2008

This time I will show you how to install Subversion (Subclipse) plugin to Eclipse.

In the tutorial I use command line. These are the commands in case you can’t see them:

$sudo apt-get install libsvn-javahl
$sudo ln -s /usr/lib/jni/libsvnjavahl-1.so.0.0.0 /usr/lib/libsvnjavahl-1.so
$sudo ln -s /usr/lib/jni/libsvnjavahl-1.so.0.0.0 /usr/lib/libsvnjavahl-1.so.0
$sudo ldconfig

Hope you like the tutorial. Any comments appreciated.

See my other video tutorials HERE.

Best viewed in full screen with scaling off !!!


Eclipse PDT #3 from ralphz on Vimeo.

Eclipse PDT #2

Wednesday, April 16th, 2008

This is second episode in the series of video tutorials about Eclipse PDT (PHP IDE). I would greatly appreciate any comments.

See my other video tutorials HERE.

Best viewed in full screen with scaling off !!!


Eclipse PDT #2 from ralphz on Vimeo.

lsof to the rescue!

Tuesday, April 15th, 2008

Have you ever got the error message ‘device is busy‘ and you had no idea what or who is using the device? In situations like this lsof is your best friend. Probably one of my favorite Linux commands. Name of the command stands for list open files and because everything in Linux is a file you can use it to gather information about virtually everything. When you execute it without any parameters it will display all the files that are open on your system.

To see all the files opened by process nautilus type

$ lsof -c nautilus.

To see all files opened by user ralphz type

$ lsof -u ralphz.

You can also check open files by process ID:

$ lsof -p 1233.

And one of the coolest features is to list all files that are currently open in the specified directory (recursively):

$ lsof +D /home/thor.

You can even chaeck what process and user are connected to a specific Internet host:

$ lsof -i@www.google.com.

That’s not all! Tones of other functions are available. Check man lsof for more info.

See my other video tutorials HERE.