How to run a bash shell script from a html button click?

by David   Last Updated May 16, 2019 03:02 AM

If I have a simple bash script

touch ./test.txt

that I want to be activated on the push of a button on any simple html page how would I go about this?

html looking something like this (tho i know it's wrong)

<form action="./">
        <input type="submit" value="Open Script">

Thanks for any help!

Tags : bash scripts html

Related Questions

Updated January 06, 2019 03:02 AM

Updated August 30, 2015 20:01 PM

Updated June 08, 2019 12:02 PM

Updated April 20, 2017 08:02 AM

Updated June 02, 2015 04:00 AM