How to run Linux commands using a Java program?
I want to execute Linux commands using a Java program. I came to know that we can use Runtime.getRuntime().exec("commands") to execute the commands through the program. I'm new to both Linux and Java. It would be helpful if i get more information on this.