I have a complex app with many components. I would like to place services in a heirarchical filesystem so that services have known names. Read only properties under a service file might for instance hold monitored stats. I hope to have a unix like shell so it can be programmable, so the user can write scripts etc. My app is all java so I would like to simulate a cut down set of unix cmds like cd/grep/find/pwd/ and other custom cmds. Any ideas on how to achieve this without reinventing unix in java... I am probably thinking that beanscript or groovy as the lingo would be a strring point for the scripting language. Naturally sandboxing would be very important as I don't want to allow stuff like writing, deleting files etc.