What is the way to test a shell script. Actually iam a
java programmer, and recently required to write some
korn shell scripts. I just want to know is there any way
to test a script, before putting it into production.
Also what is the better way to test a script containing
ftp, instead of...
I've the following script
[code]
integer ctr=0
cat files.txt | while read line
do
(( ctr+=1 ))
if [[ ctr -ne 1 ]]
then
cp $(print $line | cut -f2 -d' ') /home/csis/rajus/test
fi
done
[code]
which is supposed to copy filename red from another file
to a directory specified. It is doing...
I need to read a set of filenames from another file
and ftp them to a remote system. What is the way to send
it by using ftp command once and send them all in a loop
instead of using ftp command in the loop
thanks
How to write korn shell script, where
i need to have a loop which for example
runs for a minute and does a job inside
for every 10 seconds.
Thanks
Ramu66
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.