07-28-2006
Running shell scripts from web browser
I am in need of a mechanism to run shell scripts from web browser. Could any one of you guide me as to which technology to choose? I have some scripts which take some arguments. Appreciate you response.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
What are the rules of calling shell scripts in cron.
How do I go about setting up the correct PATHS that calls a script, which then calls another sub script all of which has to retain the orginal PATHS and VARS that I've set up in first script
Confused..
ok
Well Cron calls a script... (3 Replies)
Discussion started by: cfoxwell
3 Replies
2. UNIX for Dummies Questions & Answers
Hi -
I am running Mac OS X (Terminal) at my current workstation, and I would like to telnet to my local server to run a shell script. The local server is a Solaris machine (don't know the version or the type of Unix being run on it, sorry.)
The problem I have is that when I create a #!/bin/sh... (2 Replies)
Discussion started by: pepintheshort
2 Replies
3. UNIX for Dummies Questions & Answers
Hi there all
I am looking for both a web browser as well as a web server (Ie. Netscape Fasttrack) that will run on HPUX 10.
If you know where I can get these free via FTP, please contact me as soon as possible!!
Thanks,
Mark (1 Reply)
Discussion started by: mleathers
1 Replies
4. UNIX for Dummies Questions & Answers
Does anyone run a lot of SH (shell script) commands from vendors. i.e... product installations. And do you edit/change as a rule of thumb? I done a lot of product installs and some tend to think we should edit/change a vendors SH script. I am just looking for your thoughts. Thanks. (1 Reply)
Discussion started by: Javagate
1 Replies
5. 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
6. UNIX for Advanced & Expert Users
am new to programmming
any body suggest , how to execute, shell script interactively
and like stream line edit (3 Replies)
Discussion started by: srini_ibmadmin
3 Replies
7. Shell Programming and Scripting
Hi all Im a newbie in shell scripting, i found it joyous creating simple adminitrative scripts, like adding users, modify and delete, remote sw install etc, now i want to intergrate my scripts to make a simple administrative tool, how do i access the scripts via a browser is it possible??
... (2 Replies)
Discussion started by: jefinah
2 Replies
8. Shell Programming and Scripting
Hi,
I have this problem of merging 2 shell scripts and run it one after the other. For eg: script A runs to give OutputA. This OutputA should become the input of script B which will run to give OuputB. Now this has to happen automatically i.e, script A and script B should run consecutively one... (1 Reply)
Discussion started by: Vindhyaauri
1 Replies
9. Shell Programming and Scripting
I have written a few shellscripts to run a videogame (starcraft) at different patched versions. For example bw113 runs the 1.13 version of the game.
These works perfectly when I run them from command line (./bw113). However I cannot get it to work via mouseclick.
Some Information:
- I have... (5 Replies)
Discussion started by: lordsloth
5 Replies
LEARN ABOUT XFREE86
git-web--browse
GIT-WEB--BROWSE(1) Git Manual GIT-WEB--BROWSE(1)
NAME
git-web--browse - Git helper script to launch a web browser
SYNOPSIS
git web--browse [OPTIONS] URL/FILE ...
DESCRIPTION
This script tries, as much as possible, to display the URLs and FILEs that are passed as arguments, as HTML pages in new tabs on an already
opened web browser.
The following browsers (or commands) are currently supported:
o firefox (this is the default under X Window when not using KDE)
o iceweasel
o seamonkey
o iceape
o chromium (also supported as chromium-browser)
o google-chrome (also supported as chrome)
o konqueror (this is the default under KDE, see Note about konqueror below)
o opera
o w3m (this is the default outside graphical environments)
o elinks
o links
o lynx
o dillo
o open (this is the default under Mac OS X GUI)
o start (this is the default under MinGW)
o cygstart (this is the default under Cygwin)
o xdg-open
Custom commands may also be specified.
OPTIONS
-b <browser>, --browser=<browser>
Use the specified browser. It must be in the list of supported browsers.
-t <browser>, --tool=<browser>
Same as above.
-c <conf.var>, --config=<conf.var>
CONF.VAR is looked up in the Git config files. If it's set, then its value specifies the browser that should be used.
CONFIGURATION VARIABLES
CONF.VAR (from -c option) and web.browser
The web browser can be specified using a configuration variable passed with the -c (or --config) command-line option, or the web.browser
configuration variable if the former is not used.
browser.<tool>.path
You can explicitly provide a full path to your preferred browser by setting the configuration variable browser.<tool>.path. For example,
you can configure the absolute path to firefox by setting browser.firefox.path. Otherwise, git web--browse assumes the tool is available in
PATH.
browser.<tool>.cmd
When the browser, specified by options or configuration variables, is not among the supported ones, then the corresponding
browser.<tool>.cmd configuration variable will be looked up. If this variable exists then git web--browse will treat the specified tool as
a custom command and will use a shell eval to run the command with the URLs passed as arguments.
NOTE ABOUT KONQUEROR
When konqueror is specified by a command-line option or a configuration variable, we launch kfmclient to try to open the HTML man page on
an already opened konqueror in a new tab if possible.
For consistency, we also try such a trick if browser.konqueror.path is set to something like A_PATH_TO/konqueror. That means we will try to
launch A_PATH_TO/kfmclient instead.
If you really want to use konqueror, then you can use something like the following:
[web]
browser = konq
[browser "konq"]
cmd = A_PATH_TO/konqueror
Note about git-config --global
Note that these configuration variables should probably be set using the --global flag, for example like this:
$ git config --global web.browser firefox
as they are probably more user specific than repository specific. See git-config(1) for more information about this.
GIT
Part of the git(1) suite
Git 2.17.1 10/05/2018 GIT-WEB--BROWSE(1)