10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
A crontab script is failiing everyday but when we execute manually it runs fine
Below is the script scheduled:
00 23 * * * sh /db2backup/scripts/db2_hot_backup.ksh TRAVFF > /dev/null 2>&1
Error:
cat TRAVFF_online_04022014_2300.log
Started : Wed Apr 2 23:00:00 EDT 2014... (2 Replies)
Discussion started by: Vishal_dba
2 Replies
2. UNIX for Dummies Questions & Answers
Testing some old script developed by different user.
#!/usr/bin/sh
case "$0" in
*/*) cmd="$0";;
*) cmd=`which "$0"`;;
esac
dir=`dirname "$cmd"`
node="$dir/."
echo $node
below two simple tests are failing, I am not seeing any Control+M characters in the script file and I am not able... (4 Replies)
Discussion started by: srimitta
4 Replies
3. UNIX for Advanced & Expert Users
HI !!
I have this setup where I have Windows machine and a UNIX based DUT .
I try to make a https connection from my Win to the DUT giving its IP.
But,it is not working (It should do).
What do u think the problem is ?? I checked the logs , they flag some writesocket:broken pipe error in... (1 Reply)
Discussion started by: leghorn
1 Replies
4. Shell Programming and Scripting
I create a file that may contain several full path name files on a remote Linux that are to be copied. This file, called AWKOUTPUT is created from another script.
It contains:
X/picture1.png
The script is very simple
-------------------------------------------
REMOTEDIR="/var/CC/Stuff"... (4 Replies)
Discussion started by: mohrsville12
4 Replies
5. Shell Programming and Scripting
Hey all. Sometimes I'm tasked to change some router configs for the entire network (over 3,000 Cisco routers). Most of the time its a global config parameter so its done with a loop and an IP list as its the same configuration change for all routers. This is working OK.
However, sometimes an... (3 Replies)
Discussion started by: mrkz1974
3 Replies
6. Shell Programming and Scripting
When my script deals with large input files like 22Gb or 18 GB the basic commands like sort or join fails when run from inside the shell scripts. Can there be any specific reason for this?
For e.g.
sort -u -t "," -k1,1 a.csv > a.csv.uniq"
sort -u -t "," -k1,1 b.csv > b.csv.uniq"
The... (3 Replies)
Discussion started by: esha
3 Replies
7. UNIX for Dummies Questions & Answers
i am sending mails from my unix server to my mail id
i used sendmail option
previously it ran successfully
now it is not sending mails
what might be the problem
this is the message i am getting in /var/mail/abcdev file
how to rectify this?
----- The following addresses had permanent... (1 Reply)
Discussion started by: trichyselva
1 Replies
8. Shell Programming and Scripting
Hi,
I'm ssh-in to a remote machine (ubuntu) and trying to execute a little script in there.The script looks like this:
ssh user@ubuntu <<EOF
cd ~/test
ls -l
echo "Continue counting files starting with a`s ?"
read answer
if
then
ls -l a*
else
exit
fi
EOF
Now everything works... (9 Replies)
Discussion started by: rubionis
9 Replies
9. UNIX for Advanced & Expert Users
i have unix 5.4 running on team server hs failing to boot.
when i turn it on, it prints the following lines on the screen and just stops:
module ID 01: (0011) Main power supply ok
module ID 01: (0012) checks ok
module ID 01: (0020) test of SCSI device 0 x 0 in progress
module ID 01:... (4 Replies)
Discussion started by: ronst
4 Replies
10. UNIX for Advanced & Expert Users
Hi folks,
I have written down a UNIX script which actually FTP the file to other server. What is happening now , this script is not working only for 1 server , as it is working for 32 different FTP server .
In this particular server , we are getting message “FTp:550 access denied”... (1 Reply)
Discussion started by: khan1978
1 Replies