10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I have several shell scripts that have been developed on a Linux box for korn ksh93.
If we want to run this software on an AIX 6.1 box that runs ksh88 by default can we just change the she-bang line to reference /bin/ksh93 which ships with AIX as its "enhanced shell" to ensure... (6 Replies)
Discussion started by: Keith Turley
2. Shell Programming and Scripting
Getting syntax error when the condition after -o returns more than one file
-rw-rw-r-- 1 wes wes 0 Jun 25 04:51 a.done
-rw-rw-r-- 1 wes wes 0 Jun 25 04:51 a.zip
-rw-rw-r-- 1 wes wes ... (13 Replies)
Discussion started by: anijan
3. Shell Programming and Scripting
I am trying to do a "IF" Condition in UNIX where we compare EACH file size in a directory with a SIZE (Parameter passed)
If Each File size EXCEEDS parameter passed SIZE then we manipulate the file.
Somehow the IF condition do not work ?? (is this Variable decalration issue ??)
... (9 Replies)
Discussion started by: Pete.kriya
4. Shell Programming and Scripting
i am using a simple condition
end_ct=`sqlplus -s $ORACLE_USER/$ORACLE_PASS@$ORACLE_SID << EOF
select description from bravo_statistics
and description='END CAT';
echo... (30 Replies)
Discussion started by: lovelysethii
5. Shell Programming and Scripting
I have prepared the below shell script for one of the requirement which accesses Informatica application and performs certain functions.
But for some reason, if condition fails and scripts stops abruptly with the below error. Please let me know the where the problem is
... (2 Replies)
Discussion started by: svajhala
6. Shell Programming and Scripting
I am extracting a column value(DESCRIPTION) from one table and passing it to another db2 statement in a shell code to fetch some value(ID) but the value when passed in where condition is taking as newline+value.
Please find the out put when executed:
+ echo description is ::::... (1 Reply)
Discussion started by: msp2244
7. Shell Programming and Scripting
Hi, Unix Gurus,
I got some issue with my script.
while read newstatus
if ; then
echo "It is finished "
echo "Not Finished"
basically, I want to read one file (the file only contains one word, but it dynamically changed),... (2 Replies)
Discussion started by: ken002
8. UNIX for Dummies Questions & Answers
I am using the following code
echo "NOT RERUN"
fi (6 Replies)
Discussion started by: chriss_58
9. Shell Programming and Scripting
Hello forum members.
please go through the below mentioned issue and let me know the right solution.
I have to write a script which runs another script .the executable script take input parmeters.so iam writing the the script below .
echo " enter... (2 Replies)
Discussion started by: rajkumar_g
10. Shell Programming and Scripting
Any means of running ksh93 in a ksh88-mode?
Might sound odd, but I want/need to restrict U/Win-developed scripts to correspond to the ksh88 version on my Solaris environment(s). Thanks. (2 Replies)
Discussion started by: curleb