User interface for the shell script

Hi,
I have written a shell script that does the job of downloading a build file and upgrading a application on my test linux system.
This shell is a interactive script where the user needs to enter certain info like the remote system on which the upgrade has to be performed and the build number which needs to be downloaded.
The script is working fine.
But, i would like to have a better user interaction with this script.
What i mean is - can i have this script to be called from a browser.
Since this script runs on a linux system, we do have a webserver running on the system.
So, can i allow this script to be called from a web browser remotely ??
If yes, what basic things i need to have on my side ?

Appreciate your help.
Thanks.

You can write a CGI script that puts out a form if called without arguments but for a post response it calls your script with the form values and gets some sort of status or report to send back to the user as a web page. Any text from the shell command needs to be sanitized to be on an html page, like '&' to "&", as usual. The question is how well does your script work in this unattended sort of environment? Maybe it can be both, on some cue.

1 Like

Thanks DGPickett.
CGI programming is a solution for my problem.
Thanks a lot