Find the answer to your Linux question:
Results 1 to 2 of 2
hi I have restart.sh ,which is a shell script ,I want to execute this through JavaScript.The browser is mozilla.Is there any way to do so, all my attempts have failed. ...
  1. #1
    Just Joined!
    Join Date
    Sep 2007
    Posts
    1

    Shell Script

    hi

    I have restart.sh ,which is a shell script ,I want to execute this through JavaScript.The browser is mozilla.Is there any way to do so, all my attempts have failed. If anyone knows something .plz let me know.

    Thankx in advance.

  2. #2
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    Executing files directly from a browser is a security risk, particularly shell files. I believe this is usually disabled and certainly not recommended. What is it you are trying to do? There maybe a better way to do it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...