Tuesday, December 18, 2001 06:27 PM
I am trying to execute this command
runtime.exec("sh -c "ls -rtl | head -2 | tail -1"");
commands like this dont give proper result
How do I deal with these sort of commands
Is there a better solution?