How do I run a command on my server from an interface on the web? via /r/learnprogramming


How do I run a command on my server from an interface on the web?

To clarify the title: I want to make a page where I can type in a command and it will execute that command on the server the website is running on. I don't care about security for now as this is just a learning excercise (and only I will have access to the page)

The server runs linux (Mint).

Submitted July 11, 2017 at 02:11PM by Mavast
via reddit http://ift.tt/2v9AT1K

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s