01-21-2016
Add a statement to print/display the PATH variable.
In all likelihood the dmidecode program is not found when the script is executed by the web server.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Dear all.....
I am currently writing a Help-Desk / Knowledge Base application using PHP/PostGreSQL.
I authenticate the user using a quite elaborate mechanism of cookies. The problem is that using cookies (I also have a version using sessions with the same problem), I can only seem to get one... (4 Replies)
Discussion started by: zazzybob
4 Replies
2. Shell Programming and Scripting
I have an interactive menu script written in bash and I would like use PHP to open the interactive bash menu in a browser.
Is this possible?
Using the sytem() function in php runs the script but it's all garbled.
Seems like maybe a terminal window needs to be opened in php first?
... (1 Reply)
Discussion started by: nck
1 Replies
3. Shell Programming and Scripting
could anyone tell me why when i execute the following script, echo returns blank
set k = 1
echo $k (9 Replies)
Discussion started by: saman_glorious
9 Replies
4. Shell Programming and Scripting
Hi all,
I want to execute a shell script in which I call ssh to execute a remote command.
Everything works fine from command line but when I try to call from PHP (with exec or whatever function) it fails.
After some time I came to the root cause: when www-data execute the ssh command it asks... (4 Replies)
Discussion started by: Evan
4 Replies
5. Shell Programming and Scripting
Im trying to make a script that prints 2 messages to a screen session, one after the other.
screen -x session44 -X stuff "`printf "Test 1\r"`"
This works fine, but adding a second lien with a different message yields no results.
Changed Subject: Please Follow Forum Rules Regarding... (1 Reply)
Discussion started by: kylecn
1 Replies
6. Emergency UNIX and Linux Support
Hi all,
I have a script from a programmer, for which I need to analyze a problem.
The script gathers audit info and prints out the results. Two different departments use it, on two different printers. In the script department the there are no issues. In the other department the same script... (10 Replies)
Discussion started by: zixzix01
10 Replies
7. Shell Programming and Scripting
I want to make a script that check for the argument passed to it and generates an error in case any character/string argument passed to it.
I am using below code, but its not working. can anyone help.
#!/bin/bash
if ]; then
echo 'An integer argument is passed to the script hence... (3 Replies)
Discussion started by: mukulverma2408
3 Replies
8. Shell Programming and Scripting
Hi All,
Am trying script to compare 2 files and print the difference found from old file to new file on line by line basis on side by side display.
Basically line by line comparision and files may contain blank line as well
I know we have compare/diff commands but i don't how to make... (10 Replies)
Discussion started by: Optimus81
10 Replies
9. Shell Programming and Scripting
I am connecting to a device using telnet, I want my script to perform certain commands : ie- show device , show inventory..etc and write the output it sees from the terminal to a file.
this is what I have got :
#!/usr/bin/expect --
set running 1
spawn telnet <ip address>
expect ... (1 Reply)
Discussion started by: samantha123
1 Replies
LEARN ABOUT DEBIAN
viewvc-standalone
VIEWVC-STANDALONE(1) General Commands Manual VIEWVC-STANDALONE(1)
NAME
viewvc-standalone - run a simple stand-alone HTTP server for ViewVC
SYNOPSIS
viewvc-standalone [options]
DESCRIPTION
Run a simple, standalone HTTP server configured to serve up ViewVC requests.
OPTIONS
-c, --config-file=PATH
Use the file at PATH as the ViewVC configuration file. If not specified, ViewVC will try to use the configuration file in its
installation tree; otherwise, built-in default values are used. This option is not valid in GUI mode.
-d, --daemon
Background the server process.
-h, --host=HOST
Start the server listening on HOST. You need to provide the hostname if you want to access the standalone server from a remote
machine. The default is localhost.
-p, --port=PORT
Start the server on the given PORT. The default is 49152.
-r, --repository=PATH
Serve up the Subversion or CVS repository located at PATH. This option may be used more than once.
-s, --script-alias=PATH
Specify the ScriptAlias, the artificial path location that at which ViewVC appears to be located. For example, if your ScriptAlias
is cgi-bin/viewvc, then ViewVC will be accessible at http://localhost:49152/cgi-bin/viewvc. The default is viewvc.
-g, --gui
Pop up a graphical interface for serving and testing ViewVC. Note: this requires a valid X11 display connection.
FILES
/etc/viewvc/viewvc.conf
SEE ALSO
ViewVC web site, http://www.viewvc.org/.
AUTHORS
viewvc-standalone was written by the ViewVC Group. A complete list of authors may be obtained at http://www.viewvc.org/.
This manual page was written by John Zaitseff <J.Zaitseff@zap.org.au> for the Debian project. It is distributed under the GNU General Pub-
lic License, version 2 or later, and may be used under that licence by others.
2010-04-01 VIEWVC-STANDALONE(1)