How To Execute Shell Commands and Print Results in Java

How To Execute Shell Commands and Print Results in Java
There are many ways to execute shell commands and print results in java I guess, the famous and the most used way is Runtime.getRuntime().exec you can find a good explanation for that from here. Coming to the point i am using the same way but little...