Archive for the ‘Linux things’ Category

Fixing an eclipse crach

Tuesday, May 6th, 2008

Recently I wasn’t able to start up my Eclipse (vaugly remembering having an X-hangup – x-windows crach I mean). All I got was a small error dialog with a reference to eclipse log file containing huge traceback of java exceptions.. I didn’t have the time or energy to trace this so I swaped to jEdit for a while.

Sooner or later one has to deal with the problems. The later was today.. My method became deleting each plugin path under [workspace path]/.metadata/.plugins/

The solution was quite simple.. I removed the file .snap in the [workspace path]/.metadata/.plugins/org.eclipse.core.resources/ path and it started working again! :-)

I’m no expert in how Eclipse handles it’s workspace data, but apparently I lost associated projects.. ..but that’s that not so tuff to add again.

Got to use the command line thingies in linux more often

Wednesday, October 24th, 2007

The absolutely best advantage of using a Linux/*nix based OS is the shell applications and functions. I’m quite far from good at utilising it. I guess it mostly depends on that you need to use it often to remember all the flags and things. Still usefull and quick when you know your way around. Take for instance this simple line of command:

find . -cmin -20 -ls

This list all files in the current folder that are modified within the last 20 minutes. Nifty and quite basic. Your number one resource to getting to know the commands is the man command (man like in manual)

man find

And you know how you do it..