9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
These are the text file I have
//input1.txt//
cd dir1/dir2/pg1.txt
cd dir3/dir4/pg2.txt
cd dir88/dir5/pg4.txt
cd dir7/dir6/pg5.txt
cd dir8/dir9/pg7.txt
And each text file has some text.
Now I have to write a shell script which reads input1.txt and changes the directory as shown... (1 Reply)
Discussion started by: bhavanabahety
1 Replies
2. Shell Programming and Scripting
Hello....
I'm developing a script; the first step is to create a file (its name is IP) which contains several lines. The second step is to create and execute expect programs using the data in the (IP) file.
Unfortunately, the loop is not executed properly....sometimes, the 2nd expect file is... (2 Replies)
Discussion started by: Hossam_Nox
2 Replies
3. Solaris
Hi ,
I wanted to know how to install XEN on solaris?
I have looked at virutal box but the latest release is not supporting many OS, and for my development work i need some sort of virtual systems.....
and older versions of virtual box dont run on my build of solaris (b83)!!!
so please help
... (3 Replies)
Discussion started by: wrapster
3 Replies
4. Solaris
Hi all,
I wanted to know how to install oracle on solaris (b83)..
I also would like to know of a link that i can download oracle from?
please reply fast..
I need it for my exams day after tomorrow...
please reply (1 Reply)
Discussion started by: wrapster
1 Replies
5. UNIX for Advanced & Expert Users
Hi all,
I am trying to boot a an OS from RAM...(its a opensolaris based distro)
For this i have picked up 2 key lib files that when copied to /tmp and mounted to respective places will do the job..
The sizes of these files combined comes upto 600mb.(i have 2gb ram)
Now i have also located the... (0 Replies)
Discussion started by: wrapster
0 Replies
6. Shell Programming and Scripting
Hi all,
I was playing around with some scripts and spoilt solaris completely ..
So i reinstalled and thought of giving the password once i log in...
However i forgot all about it and went ahead installing all my drivers and particularly KDE 3.5.8 on my system..
But for kde to show up at the... (0 Replies)
Discussion started by: wrapster
0 Replies
7. Solaris
Hi everyone,
I would like to know how to compile and run lex programs on solaris 10.
the conventional way is
$ lex <name.l>
$ cc lex.yy.c -ll
$ ./a.out
but while trying to execute the 2nd command :i get a reference saying that the command is old or that main is not supported...
Hence... (1 Reply)
Discussion started by: wrapster
1 Replies
8. Shell Programming and Scripting
Hi,
I am creating a pipe in a directory $HOME/pipes. The pipename should be
L${PROGNAME}. Whenever i embed these lines in shell script, i get an error
mkfifo: No such file or directory.
I am creating a pipe with the key word
mkfifo $HOME/pipes/L${PROGNAME}.
Please help me how to get... (5 Replies)
Discussion started by: raghavan.aero
5 Replies
9. Shell Programming and Scripting
Hi all,
I'm developing a system which requires me to run a ksh script from within a cgi script. What sort of syntax will I need to do this, I'm sure it's simple but can't find out how anywhere!
Thanks. (1 Reply)
Discussion started by: hodges
1 Replies
upsimage.cgi(8) Network UPS Tools (NUT) upsimage.cgi(8)
NAME
upsimage.cgi - Image-generating helper for upsstats.cgi
SYNOPSIS
upsimage.cgi
NOTE
As a CGI program, this should be invoked through your web server. If you run it from the command line, it will either complain about unau-
thorized access or spew a PNG at you.
DESCRIPTION
upsimage.cgi generates the graphical bars that make up the right side of the page generated by upsstats.cgi(8). These represent the cur-
rent battery charge, utility voltage, and UPS load where available.
The images are in PNG format, and are created by linking to Boutell's excellent gd library.
ACCESS CONTROL
upsstats will only talk to upsd(8) servers that have been defined in your hosts.conf(5). If it complains about "Access to that host is not
authorized", check that file first.
FILES
hosts.conf(5)
SEE ALSO
upsstats.cgi(8)
Internet resources:
The gd home page: http://www.boutell.com/gd/
The NUT (Network UPS Tools) home page: http://www.exploits.org/nut/
NUT mailing list archives and information: http://lists.exploits.org/
Wed Oct 16 2002 upsimage.cgi(8)