So, my real suggestion would be to create a script that has the commands you want to execute and you run THAT script from the database.
Give your self the permission to run that one command -- not /bin/sh Tom, I found this information to be very helpful. I have a question about using the ftp command instead of the ps command.
This is like someone on windows trying to run "dir", "dir" is not a program -- its an internal command.
similarly, ps -ef | grep oracle is not a command -- its an internal command to your shell that says "start ps, redirect its stdout, start grep, redirect its stdin".
SQLI just removed the String array definition on the PL/SQL wrapper function and the Java method. WORLD begin 2 dbms_java.grant_permission 3 ('RT_TEST', 4 '