13

Script Shell in java code

view full story
linux-howto

http://www.unix.com – Hello, This is my script shell: Code: echo Mon premier script echo Liste des fichiers : ls -la   exit 0 This is my code java: Code: public class test {           public static void main(String[] args) {                 try {                         Process process = Runtime.getRuntime().exec("sh script1.sh");                                       &nb (HowTos)