10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am on the NIS client server. when I do ypwhich. I get this err.msg.
> ypwhich
Domain feed.oca.ipx.com not bound on svrnyP1
Any idea. I am able to ping the NIS master server. On the /var/adm/messages. I see this...
Oct 16 12:52:36 svrnyP1 ypbind: NIS server not... (2 Replies)
Discussion started by: samnyc
2 Replies
2. Shell Programming and Scripting
Help. My script is working fine when executed manually but the cron seems not to catch up the command when registered.
The script is as follow:
#!/bin/sh
for file in file_1.txt file_2.txt file_3.txt
do
awk '{ print "0" }' $file > tmp.tmp
mv tmp.tmp $file
done
And the cron... (2 Replies)
Discussion started by: jasperux
2 Replies
3. Shell Programming and Scripting
Hello,
I am facing a very strange problem when I run my script manuallu ./Fetchcode which is using to connect with MKS integrity from linux end it workks fine but when I run it from cron it doesn't work.Can someone help me
1) How could I check my script when it is running from cron like... (3 Replies)
Discussion started by: anuragpgtgerman
3 Replies
4. Shell Programming and Scripting
Hi all - I''m in a little bit of jam - If you can please help
I have a file that has the following content ( please see below)
I need to read the file and then get this result in this format
------------- To put out in this format
name: sophis Total: 22328
name: tca ... (2 Replies)
Discussion started by: mnassiri
2 Replies
5. Shell Programming and Scripting
I executed the following command and got Arg List too long.
find /dir1/dir2/LOG_* -prune -type f -mtime +3 -exec echo {} \;
What's that about? (2 Replies)
Discussion started by: bbbngowc
2 Replies
6. Shell Programming and Scripting
Hello everybody
I made code to move some files to another place for example(I moved MM file TO BIN folder ) and the MM path I put it in different file e.g(0:HOME/unixstuff/MM) so my question is who I can separate the path line and use the number 0: and MM as parameter because if I want to... (2 Replies)
Discussion started by: falm
2 Replies
7. Shell Programming and Scripting
Following is d code snipet
#!/bin/ksh
retVal=`sqlplus -s user/passwd\@oracle_sid <<EOF
SET SERVEROUTPUT ON SIZE 100000
DECLARE
STATUS_VALUE VARCHAR2(1);
BEGIN
SELECT temp1 INTO STATUS_VALUE FROM sai;
DBMS_OUTPUT.PUT_LINE(STATUS_VALUE);
END;
/
exit;
EOF`
echo "Return Value... (4 Replies)
Discussion started by: sainathdeg
4 Replies
8. Shell Programming and Scripting
Hi,
when i am executing this script, i am getting the values of TID and Intime in different lines.
How can i print both output values in a single line. please advise
_____________________________
#!/bin/ksh
export Path="/abc/def/ghi";
Home="/abc/jkl/prt";
cd $Path
cat $Home | while read... (3 Replies)
Discussion started by: Prat007
3 Replies
9. Shell Programming and Scripting
I'm using nested for loops to gather ping IP addresses from a hostlist and also changing the packet size via a packet size list. The final results of (RTT and SDEV) will need to be grep'd out using awk into variables and then printed in columns (the packet sizes going across with IP address going... (1 Reply)
Discussion started by: cocoabeauty1
1 Replies
10. Shell Programming and Scripting
Hi friends i have a script "backup.sh" which is stored in "/var/lib/pgsql" directory.
I want it to run as a cron so that it executes every time the system starts.
I tried the follwing method
I logged in as the root user and typed "crontab -e"
The file was completly blank so i put the... (3 Replies)
Discussion started by: perk_bud
3 Replies