Hi All,
I am getting error while executing below script:
Error :sh ftp_files.ksh
ftp_files.ksh: ^M: not found
ftp_files.ksh: typeset: not found
ftp_files.ksh: typeset: not found
ftp_files.ksh: typeset: not found
ftp_files.ksh:
/usr1/app/Informatica/PowerCenter8.5.1/server/infa_shared/TgtFiles/PROVI
DERS/PROVDIR^M^M:
does not exist
#!/usr/bin/ksh
#
# PURPOSE: This script FTP's NewWdir.zi
I am just getting my feet wet in scripting and want to debug a certain script.The script basically is to perform video encoding by successively executing shell scripts generated by Acid Rip.
Hello,
I am new on PHP scripting .I have shell scripts which I an running currently from linux server but now I want to make a web portal from where I will run all my scripts but the problem is all my scripts ask for parameters so I am getting confused how could I run my shell script from web portal.for example my portal design is ready and able to execute the script when it ask for parameter no
Hello please kindly solve these doubts i have about the following scripts
Code:
Script 1
//Shell script that accepts arguments and prints them in reverse order//
echo "number of arguments"
len=$#;
while [ $len -ne 0 ]
do
eval echo \$$len
len=`expr $len - 1`
done
---------
Output
$sh test.sh a b
b
a
1.what is \$$len.what is the significance of the escape sequence
Script 2
Cod
I have N number of python scripts which i am receiving from REST web server and i am saving them in /home/mandar/ . Now i want to write a script to run all the python scripts from this directory and monitor them every minute...if any process is dead or hung it should be restarted by this script.
Hi,
Background: There are 2 servers server1 and server2
In server1 i have my script to perform a functionality from the script in server1 i m calling a script named action in server2.
I have a python script that looks files up in a relative directory. For example: the python script is in /home/username/projectname/. I have a file that is being called within the python script that is in /home/username/projectname/subfolder.
If I run the script from the shell as python scriptname.py it runs perfectly fine.
However, i'm trying to run the script as a startup service.
Hi there,
I am new to scripting, please advise.
I have a script running on the PC server, the script is to log on some ip to get something.
script-name IP -l username
after running the command, I need to type the password for the script to run.
Now, I like to change the script to web cgi script, I can get the IP from the web page, hardcode the uername, but not sure how to give the cg
I am new to shell scripts and many books have written that use #!(sha-bang) line in starting of the script to invoke the interpreter .And this will invoke a new shell for script and do the interpretation line by line.But one of my basic script is still running without the magic line.
so my questions are:
from where did my basic script get the interpreter.
how did the script manages to locate th