how to run a linux command in
I want to execute a linux command say "/bin/ls" in my java file. The code I am using is Runtime.getRuntime().exec("/bin/ls"); when I run this on linux, nothing is output to the screen. no error message either. anybody can tell me why. Thanks a lot!
