Running a bash script from an HTML link or button

Solution 1:

You can do serverside scripting in bash without problem.

Here a short tutorial how to do it: http://www.yolinux.com/TUTORIALS/BashShellCgi.html