V
V
Vitaly2016-03-21 15:14:41
linux
Vitaly, 2016-03-21 15:14:41

How to run a program or script from a browser on Linux os?

I see there was a similar question, but still a little different.
That is, is it possible to somehow run a native program, sh or shell script using html or javascript?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
V
Vitaliy, 2016-03-21
@Scorpiored88

Found Decisions - through the protocol. Or use the mozilla browser, and there are already several protocol options that you can customize for yourself. Everything is simple

D
Dmitry Kuznetsov, 2016-03-21
@dima9595

Without a detailed answer, it is not clear what to run. If you wrote a JS script, then create an HTML structure, connect the script and open it in a browser.

V
Victor Taran, 2016-03-21
@shambler81

wget -q -O- http://site.ru/script.php

D
Dmitry Belyaev, 2016-03-21
@bingo347

From node.js and electron - can be
from browser - no

D
Denis Popov, 2016-03-22
@DenisDangerous

It is possible but not on html/js. It's easier to install ajenti, go there http://your_ip:8000 there will be a console and other system management features. Well, in general, using php, you can run system commands

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question