10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hello,
I want to run this script on my CentOS 6 via browser :
________________________________________________________________________________________________
#!/bin/sh
echo Username?
read MY_NAME
echo Provisional file name?
read MY_FILE
echo File NAME you want to save?
read MY_FILE2... (16 Replies)
Discussion started by: juta2020
16 Replies
2. UNIX for Beginners Questions & Answers
I tried to source the csh file into the bin/sh(input file is srcinput.sh ).
Its(csh -f ...csh) not working.
I tried to source like csh -f D:/sample/expand/env.csh
env.csh sets the environment and it source another .csh file using
source fname.csh.
fname.csh it sets one... (2 Replies)
Discussion started by: SA_Palani
2 Replies
3. Shell Programming and Scripting
Hi team,
I have a typical problem with cgi pages in apache webserver in WINDOWS
I am able to execute(display) the pages that are saved in cgi-bin folder.
But I am not able to execute the pages stored in htdocs or other folder other than cgi-bin folder.
Could anyone please let me know how... (1 Reply)
Discussion started by: scriptscript
1 Replies
4. UNIX for Dummies Questions & Answers
Hello anyone,
I'm a PHP programmer that, through work has to be a server administrator. We have a dedicated server at godaddy. I just found this forum but probably could have asked a thousand questions that I've already figured out.
I tried finding anything online and would think this would... (0 Replies)
Discussion started by: Freddythunder
0 Replies
5. Shell Programming and Scripting
Hi,
I have a script which I need to modify. It contains the following statement at the beginning -
1. What does this mean ?
#!/bin/csh -f
2. If I run the following code in a script on C SHELL it runs normally.
host=0
if ; then
host="<<something>>"
fi
But, in the script... (7 Replies)
Discussion started by: angshuman_ag
7 Replies
6. Shell Programming and Scripting
Hey Guys,
I need to copy some files from my Apache server to SMB share ...
copy $file,"/Volumes/v1/x/test/$datestamp$name$suffix"
Unfortunately this command when executed from Apache/cgi-bin is not able to access mounted volumes .. is there anything that can be done about that ... Can... (1 Reply)
Discussion started by: NDxiak
1 Replies
7. Shell Programming and Scripting
Okay, so I have two "Hello, world!" scripts, "test.pl" and "test.sh".
#!/bin/perl -w
use strict;
print "Hello, world!\n";
#!/bin/csh
echo Hello,\ world!
When I run test.pl, it runs instantly, always. When I run test.sh, it takes anywhere between 4 and 22 seconds!
I'd like to know what... (3 Replies)
Discussion started by: acheong87
3 Replies
8. Solaris
Hi All,
Sorry if the question is trivial for you but, I am new to Apache (2.0.63) and am trying to figure out how to display my 400.cgi. Here is what I have in httpd.conf
servername testing
DocumentRoot "/usr/local/apache2/htdocs"
ErrorDocument 400 /cgi-bin/badrequest-400.cgi
Here is... (0 Replies)
Discussion started by: afadaghi
0 Replies
9. Shell Programming and Scripting
Hi All,
I have a web page that is a cgi script running in the cgi-bin and the script calls informatica via the command line. The problem I have is that if there is an error in the informatica workflow then exit status of my command line call does not get populated and it seems like the page is... (1 Reply)
Discussion started by: zilla30066
1 Replies
10. Shell Programming and Scripting
Hey everyone,
A coworker of mine has written a csh script that starts with #!/usr/bin/csh -f. It's my understanding that the -f should skip the .cshrc and .login files, but here's the problem: In the script "line" is used, and I happen to have a "line" in my ~/bin. When the script is ran my... (4 Replies)
Discussion started by: effigy
4 Replies