10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I have this UNIX script code with a query to export sql table in Oracle and export to csv file. The code gets the data correctly. However, when I run the script second time, I got the error message "not spooling currently" and shows the older data in csv file. When I delete the csv file and run... (5 Replies)
Discussion started by: Hope
2. UNIX for Beginners Questions & Answers
I wrote the below script to e-mail me only file names in a specific directory when a file is delayed for some time in a that directory. I am getting unexpected eof error message.
I don't want any email if the folder is blank.(if the condition is not met) I am not getting the email at... (4 Replies)
Discussion started by: Hope
3. Shell Programming and Scripting
I have one script that calls another script during execution. The other script does some processing, then either returns with exit 0 (if successful), or exits with error code numbers (if failed). However, in addition to the error code, I would like for that second script to be able to pass a... (4 Replies)
Discussion started by: AcerAspirant
4. Shell Programming and Scripting
I am writing a script in which I am using an IF-Else statement.
# Check for the product.
If (test "$3" = "Pet") Then
elif (test "$3" = "Breakdown") Then
elif (test "$3" = "Travel") Then
... (2 Replies)
Discussion started by: bghosh
5. UNIX for Advanced & Expert Users
i've got a problem with a sendmail script, which sends HTML mails. Some mail will rejected by the mail server, because the fqdn doesn't exist.
Where can i set the sender-domainname by sendmail?
My mail server say: "Sender address rejected: Domain not found;", which is correct... (3 Replies)
Discussion started by: rainbowwarrior
6. Shell Programming and Scripting
Hello again all. I have a user editable script that I'd like to have point out the user error to. Problem is I'm having troubles getting an echoed error message to give me the line. Here's what I'm trying to do. grep -n $loc /this/script.sh where '$loc' is the argument passed to the script.... (9 Replies)
Discussion started by: DC Slick
7. Shell Programming and Scripting
I am getting the following error message when trying to execute the following script.
Nigh_Status = `db2 "select TYPE from ETL.LOCK where STATUS <> 0 and... (12 Replies)
Discussion started by: NARESH1302
8. Shell Programming and Scripting
this is a simple script
FileCnt=`ls -lrt $DIR/* | wc -l`
how could i escape the error msg if there are no files in $DIR
ls: /home/sayantan/test/files/cnt/*: No such file or directory
Looking forward for a quick reply
Regards, Newbie... (3 Replies)
Discussion started by: newbie07
9. Shell Programming and Scripting
When I am trying to execute the below shell script I got this error message.
/usr/java/jdk1.5.0_10/bin/java - classpath /var/lib/asterisk/agi-bin/mysql-connector-java-3.0.15-ga-bin.jar/:
/var/lib/asterisk/agi-bin/jarfiles:... (4 Replies)
Discussion started by: ajayyaduwanshi
10. Shell Programming and Scripting
Hi I have the following script and have problem debugging the problems. The function of this script is to make sure the entire file is being received (the filesize of a data is not changing after 20 seconds) and start moving the file to another directory. This script should be started every 30mins.... (5 Replies)
Discussion started by: ReV