10 More Discussions You Might Find Interesting
1. Solaris
Hi,
I am having a shell script on Solaris 10 which has a while loop as shown below.
#!/usr/bin/ksh
#
while
do
sleep 60
done
Name of the shell script is coldcentric.sh. I executed script /DATAWAREHOUSE/LOAD/Scripts/coldcentric.sh from a command task in Informatica worklow as... (3 Replies)
Discussion started by: chekusi
3 Replies
2. UNIX for Dummies Questions & Answers
Hi,
Shell script can be executed in few ways. I would like to know the differences in the below execution methods.
sh file1.sh
. file1.sh
. /file1.sh
Please help, thank you. (2 Replies)
Discussion started by: Dev_Dev
2 Replies
3. UNIX for Advanced & Expert Users
Hello,
I am writing a shell script in which i do ssh to remote server and count the number of files there and then exit. After the exit the shell script terminates which i believe is expected behavior. Can some one suggest me a way where even after the exit the script execution resumes.
... (2 Replies)
Discussion started by: manaankit
2 Replies
4. Shell Programming and Scripting
Hi all,
I want to use perl string manipulation commands in my shell script.
I have written following script.
echo "enter name"
read name
perl -e '$m=length($name);
echo $m
it gives an error: unrecognized token in perl command line.
do not suggest me an equivalent command of shell... (3 Replies)
Discussion started by: admc123
3 Replies
5. Shell Programming and Scripting
Hi
I have to execute the commands in .aliases file from a shell script
I tried
1.giving the alias directly in shell script
2.Giving the actually "value of alias" in the shell script
3. I tried giving both steps 1 and 2 inside ` quotes
Still nothing is working . It says command... (3 Replies)
Discussion started by: ssuresh1999
3 Replies
6. Shell Programming and Scripting
Hi Guys,
Unable to run this script from the cron,although the same executes perfectly from the command line.Please help.
#!/bin/sh
#### aprintd alarm creation files #####
file=`date +%m%d%Y`
pid=$$
echo "$pid"
/u01/app/netboss/bin/aprintd/aprintd > $file &
childpid=$!... (3 Replies)
Discussion started by: ashish.sharma
3 Replies
7. Shell Programming and Scripting
Hi All,
i am running a shell script in which there is a command
`ps -ef | grep smon > db`
When i execute this command in the command prompt i am getting the desired output..but when the script is executed..the db file is getting created but with no values...I could not find the reason for... (2 Replies)
Discussion started by: anju
2 Replies
8. UNIX for Dummies Questions & Answers
I've a shell script that invokes a URL of an application to do some work, e.g., http://www.abc.com/myservlet?action=helloworld.Does the shell wait for a return value from the URL call before proceeding to the next line of command? (6 Replies)
Discussion started by: chengwei
6 Replies
9. Shell Programming and Scripting
How can I execute another shell script from one?
Malay (5 Replies)
Discussion started by: malaymaru
5 Replies
10. UNIX for Advanced & Expert Users
my apache 2.0 is up and running but after trying to reconfigure it for specifics I ended up with a permanent eror message that I can't seem to get rid of .. when I run the server ( just / */apachect1 start )
the message reads "cannot locate name localhost for server 127.0.0"
so far I have tried... (2 Replies)
Discussion started by: moxxx68
2 Replies