I am trying to build an web interface to execute the shell script on the linux environment.
I tried the same using the PHP shell_exec("test.sh") but it did not work properly. It is unable to execute few commonds on the test.sh file and if i try executing the test.sh file it works properly though linux terminal.
<?php
shell_exec(command);
?>
I just want to execute shell script through web interface , language can be any(Php, Java, nodejs..)
Aucun commentaire:
Enregistrer un commentaire