Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-21-2012, 08:17 AM   #1
LQ Newbie
Registered: Sep 2012
Posts: 1

Rep: Reputation: Disabled
Webpage - Shell script integration

Hi All,
I have the following requirement. Just wanted to know, what are the tools required to achieve this:

1. Create a Webpage.
2. Users select options from 2-3 dropdown menus and hit the submit button.
3. Depending on what inputs are chosen from the dropdown, a particular shell script on a linux box is called and executed.
Once complete, depending on success or failure - display the result on the webpage.

I'm a beginner on the web-development front and need your inputs as to what tools I need to install and learn and also the integration flow between the various components.

Do let me know if the information is vague or you need more details.

Old 09-21-2012, 09:55 AM   #2
Registered: Aug 2005
Distribution: Gentoo
Posts: 228

Rep: Reputation: 31
This is actually pretty straight forward. You'll need apache configured with CGI. From here, I'm going to pass you over to a thread that addresses the rest of the steps.

Additionally, a little information about setting the shell script up to do what you want it to do.

I'm going to offer this advice but it may not be the most efficient way to do it...configure your apache server with PHP and execute the script based on the selection chosen by the user. You may be able to execute it directly from the form with simple HTML but I am unsure how (and I also doubt its possible).

Last edited by flower.Hercules; 09-21-2012 at 10:01 AM. Reason: clarification.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] CGI-Shell Script runs ok in command prompt but not through the webpage rajib_145 Linux - General 10 05-18-2012 03:46 AM
webpage login by shell script fortran Linux - General 1 01-24-2012 09:29 AM
[SOLVED] Invoking UNIX shell commands from HTML webpage ixcel87 Programming 8 05-12-2010 03:22 PM
entering username and password for a webpage through shell script abhijeetmirjolkar Linux - Newbie 1 07-01-2008 05:59 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:35 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration