Archive for October, 2008

Java execution error: Exception in thread main java.lang.NoClassDefFoundError

Note that when you run a Java program by calling java, you must put the full classname AT THE END of the command, i.e.
java -cp YourClasspaths YourFullClassname


Windows commands

Remove folder

Color in prompt command line

In your .bashrc file there’s a line :
Over there 34 means blue. Other colors:
34 : blue
31 : red

How to hide system file in Krusader?

Ctrl + . to toggle show/hide system files or hidden files.

How to make .bashrc take effect immediately?

Call source .bashrc

How to get the IP of the computer running Unix OS ?

Use the command sbin/ifconfig