@@ -0,0 +1,707 @@
+package helper.Cli;%0A%0Aimport java.io.BufferedReader;%0Aimport java.io.InputStreamReader;%0A%0Apublic class ExecuteShellCommand %7B%0A%0A    public static String execute(String command) %7B%0A%0A        StringBuilder output = new StringBuilder();%0A%0A        Process p;%0A        try %7B%0A            p = Runtime.getRuntime().exec(command);%0A            p.waitFor();%0A            BufferedReader reader = new BufferedReader(new InputStreamReader(p.getInputStream()));%0A            String line = %22%22;%0A            while ((line = reader.readLine()) != null) %7B%0A                output.append(line).append(%22%5Cn%22);%0A            %7D%0A%0A        %7D catch (Exception e) %7B%0A            e.printStackTrace();%0A        %7D%0A%0A        return output.toString();%0A    %7D%0A%7D%0A

add shell command executer