I want to use a tool which is command based(from ubuntu terminal). I want to run commands from inside a java application. I m currently using eclipse for my work.
So far I have tried to use Runtime.exec("xterm") to open the terminal, but I don't know how to run commands on that terminal using java. Also I don't want the terminal to show up on screen, it should run in the background.