Q:

can i run script in ubuntu using java

    String[] cmd = { "sh", "MyFile.sh", "\pathOfTheFile"};
    Runtime.getRuntime().exec(cmd);
0

New to Communities?

Join the community