System.exec("name of command");
or
Runtime.getRuntime().exec("name of command");
Remember, Google is your friend.
hello
I want to hide the logout button in the red hat menu using a java program. Please help.is shell programming is required to fo this?How to invoke a shell program in linux from java?
piyush laad
System.exec("name of command");
or
Runtime.getRuntime().exec("name of command");
Remember, Google is your friend.
Sorry, have not used Redhat since 2000, and that was a headless non-gui system.
Not even sure which desktop environment Redhat is using these days.
laadpiyush, you're such a retard for posting this help request.
Assuming that you're using the latest red hat (discontinued in 2004 btw), you need to modify some GNOME settings.
ex: http://docs.sun.com/app/docs/doc/817...kpbn3us?a=view
I imagine something similar for KDE.
retard. what are you making anyway? a virus?!
Last edited by Xipeos; 01-09-2008 at 04:24 AM.