how to run linux shell command by javascript - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

how to run linux shell command by javascript

jadavjadav Posts: 23Member
I have apache installed in my RedHat-9.0 machine .
And I to run shell command from the javascript .

like "service dhcpd start";
"ls -l"
etc....


help me
thanks in advance..

Comments

  • the walrusthe walrus Posts: 249Member
    you can't. javascript is client-side, which means you can't do anything on the server with javascript. all javascript is run by the webbrowser, not the server. look into php if you want to run scripts on the server-side.

    : I have apache installed in my RedHat-9.0 machine .
    : And I to run shell command from the javascript .
    :
    : like "service dhcpd start";
    : "ls -l"
    : etc....
    :
    :
    : help me
    : thanks in advance..
    :
    :
Sign In or Register to comment.