05-16-2010
Call shell script from HTML page - without web server
Hi,
I have html page in my unix machine(server), which I will open with firefox or mozilla available in unix machine. Firefox or mozilla will be opened using x windows.
Since I have access to unix machien(like other users) and this HTML page is for user having access to Unix machine, I see no point in having webserver as I can use X windows instead to open HTML page.
However I am unable to find a way to execute shell script from this HTML page. Note this html page will be in same unix machine where my shell script resides.
Thanks,
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
....passing variable via list...
here 's the HTML code extract :
****************
<form method=post action=http://servername/cgi-bin/cgi-comptage_diff.ksh>
<table border...........>
.............. </table>
<table bgcolor=#FFFFFF width="980">
... (6 Replies)
Discussion started by: Nicol
6 Replies
2. Shell Programming and Scripting
I want to invoke shell script named bubesh.sh when submit button clicked on html/jsp page.I am using an apache server and the html & shell script are in the same working directory.Please help. (2 Replies)
Discussion started by: bubeshj
2 Replies
3. UNIX and Linux Applications
Hi All,
I need a basic overview of connecting a HTML web page to Unix
I will give a brief of my exact requirement.
There will be a front end HTML page - a web page which will have certain buttons.
Each button will have certain functionality.
For eg: There is a button for Disk Usage. When the... (1 Reply)
Discussion started by: abhilashnair
1 Replies
4. Shell Programming and Scripting
Dear all,
I am calling a korn shell script(CGI script) by a web-page. This shell script do some checking in a unix file and return true or false. Now within the same script, If it returns true then I want to redirect to another web-page stored in htdocs directory.
Example: Login page sends a... (3 Replies)
Discussion started by: ravi18s
3 Replies
5. Shell Programming and Scripting
Hi
I know how to pass data from client side (html file) to server using CGI script (POST method).
I also know how to re-create the html page from server side after receiving the data (using printf).
However I want to write static pages on client side (only the structure), and only to pass... (0 Replies)
Discussion started by: naamabm
0 Replies
6. Shell Programming and Scripting
Hi,
Need Help, Recently I have thought to migrating my Korn Shell Scripts to html page..., already webserv is running on my unix machine.
How to migrate the shell scripts to html page..
Please refer any web portal or sample codes. Thanks in Adavce (2 Replies)
Discussion started by: l_gshankar24
2 Replies
7. Shell Programming and Scripting
Hi friends,
I m newbie to bash scripting , i m writing script(bash) that will display all processes which r running in my system in an html page, everything going fine but i m not able to get checkbox dynamically for each process in html page ,so that i can mark that process... (2 Replies)
Discussion started by: vagga06
2 Replies
8. Shell Programming and Scripting
Hello,
I need to monitor an html web page for ANY changes and should be able to know if it's modified or not (since last query). I do not need what modifications but just notification is enough.
This is a simple web page and I don't need to parse the links any further.
Is it possible to do... (10 Replies)
Discussion started by: prvnrk
10 Replies
9. AIX
dear friends ,
in my work i have to monitor some system performance in hourly basis by runing some commands , for example (lpstat) to know that all the queue is ready
how can i create webpage and connect it with the server (AIX operating system) and make this page refreshed every 10 second and... (12 Replies)
Discussion started by: rami abusweilei
12 Replies
10. UNIX for Dummies Questions & Answers
hi,
i want to execute a shell script as a different user. the flow is like this.
there is a html web page from which i have to call a shell script. web server is apache. to call the shell script from html page, a perl script is required.
so the html page calls the perl script and the perl... (2 Replies)
Discussion started by: Little
2 Replies
FIREFOX(1) Linux User's Manual FIREFOX(1)
NAME
firefox - a Web browser for X11 derived from the Mozilla browser
SYNOPSIS
firefox [OPTIONS] [URL]
DESCRIPTION
Mozilla Firefox is an open-source web browser, designed for standards compliance, performance and portability.
USAGE
firefox is a simple shell script that will set up the environment for the actual executable.
OPTIONS
A summary of the options supported by firefox is included below.
GTK options
--gdk-debug=FLAGS Gdk debugging flags to set
--gdk-no-debug=FLAGS
Gdk debugging flags to unset
--gtk-debug=FLAGS
Gtk+ debugging flags to set
--gtk-no-debug=FLAGS
Gtk+ debugging flags to unset
--gtk-module=MODULE
Load an additional Gtk module
X11 options
--display=DISPLAY
X display to use
--sync Make X calls synchronous
--no-xshm
Don't use X shared memory extension
--xim-preedit=STYLE
--xim-status=STYLE
--g-fatal-warnings
Make all warnings fatal
Firefox options
-h, -help
Show summary of options.
-height value
Set height of startup window to value.
-width value
Set width of startup window to value.
-v, -version
Print /usr/bin/firefox-bin version.
-CreateProfile profile
Create profile.
-P profile
Start with profile.
-ProfileManager
Start with profile manager.
-UILocale lang-region
Start with lang-region resources.
-contentLocale lang-region
Start with lang-region resources.
-remote command
Execute command in an already running Firefox process. For more info, see: http://www.mozilla.org/unix/remote.html
-no-remote
Don't try to control an already running instance.
-jsconsole
Start with Javascript Console
-chrome url
Load the specified chrome.
-new-window url
Open URL in a new window if Firefox is already running.
-new-tab url
Open URL in a new tab if Firefox is already running.
-preferences
Open Firefox preferences menu.
-safe-mode
Disables extensions and themes for this session.
FILES /usr/bin/firefox - shell script wrapping firefox
/usr/lib/firefox/firefox - firefox executable
VERSION
3.0
BUGS
To report a bug, please visit http://bugzilla.mozilla.org/
SEE ALSO
mozilla(1)
AUTHORS
The Mozilla Organization
http://www.mozilla.org/about.html
firefox January 04, 2006 FIREFOX(1)