03-28-2007
Worked fine
Thanks Deal Nodeal,
Below code worked for me.
err_mesg=`sqlplus -S $ORA_USERID_PWD << !
@a.sql
!`
if [ $? -ne 0 ]
then
echo "$CTM_JOBNAME Error " >> $LOGFILE 2>&1
echo "Error message : $err_mesg" >> $LOGFILE 2>&1
exit 1
fi
Thanks to all.
With Regards,
Ganapati.
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I'm getting an error - symbol referencing errors. No output written to, etc
Can anybody tell me why this is? (2 Replies)
Discussion started by: Dan Rooney
2 Replies
2. Solaris
Both of these messages are filling up the /var/adm/messages files on these two Sun boxes, goober and gomer. The print server is called gold.
Jul 31 03:15:40 gold bsd-gw: request to ma28084.Solaris (unknown printer) from goober
Jul 31 03:16:39 gold bsd-gw: request to ma28084.Solaris (unknown... (1 Reply)
Discussion started by: antalexi
1 Replies
3. AIX
When I try to list a directory that I have been using rsync to copy, I now am getting the following message.
root # ls -alt /directory
ls: /directory: Value too large to be stored in data type.
total 0
I can change directory and list the contents of directories within /directory, but I... (2 Replies)
Discussion started by: sallender
2 Replies
4. UNIX for Advanced & Expert Users
I get this error message as soon as i log in
-bash: /usr/local/software/.../vni/CTT6.0/ctt/bin/lopt64.sh: No such file or directory
I looked into the etc/profile but there are no lines sourcing this file.
And there is no lopt64.sh in the directory vni/.../bin
I couldn't fogure out what... (4 Replies)
Discussion started by: dsmv
4 Replies
5. Shell Programming and Scripting
I am new to scripting.
I am using the following script . BART.dat contains the string 'Y' .
#!/bin/ksh
cd /work/TCI/data_out
file=`cat BART.dat`
echo "$file"
if ; then
echo "true"
fi
When i am executing the above script i am getting the following error
./s.ksh: : not found
... (2 Replies)
Discussion started by: ammu
2 Replies
6. UNIX for Dummies Questions & Answers
I keep getting an error message in a script im writing, this line is allways pointed out.
if
and this is the message i keep getting.
line 32: [: 8: unary operator expected
Whats wrong with it?
Please Help. (5 Replies)
Discussion started by: chapmana
5 Replies
7. UNIX for Dummies Questions & Answers
I was reviewing logs and I got this error message in /var/log/messages:
Did not receive identification string from (IP ADDRESS)
What does it mean? (6 Replies)
Discussion started by: mojoman
6 Replies
8. UNIX for Dummies Questions & Answers
Hi I found the following error message in my logs:
warning: /etc/hosts.deny, line 6: can't verify hostname: getaddrinfo(localhost) didn't return ::ffff:222.255.28.33
What is the error message trying to indicate? That there is a problem with line 6 (2 Replies)
Discussion started by: mojoman
2 Replies
9. Red Hat
Hello,
while i was saving a web file directing on to usb location there was some network problem which result in error WRITE DELAYED on windows xp.
so pen drive is not getting completely formated(show as Windows was unable to complete format).From then onwords it is not allowing to copy... (0 Replies)
Discussion started by: amarnathbasis8
0 Replies
LEARN ABOUT MOJAVE
set_color
set_color(1) fish set_color(1)
NAME
set_color - set_color - set the terminal color
set_color - set the terminal color
Synopsis
set_color [-v --version] [-h --help] [-b --background COLOR] [COLOR]
Description
Change the foreground and/or background color of the terminal. COLOR is one of black, red, green, brown, yellow, blue, magenta, purple,
cyan, white and normal.
o -b, --background Set the background color
o -c, --print-colors Prints a list of all valid color names
o -h, --help Display help message and exit
o -o, --bold Set bold or extra bright mode
o -u, --underline Set underlined mode
o -v, --version Display version and exit
Calling set_color normal will set the terminal color to whatever is the default color of the terminal.
Some terminals use the --bold escape sequence to switch to a brighter color set. On such terminals, set_color white will result in a grey
font color, while set_color --bold white will result in a white font color.
Not all terminal emulators support all these features. This is not a bug in set_color but a missing feature in the terminal emulator.
set_color uses the terminfo database to look up how to change terminal colors on whatever terminal is in use. Some systems have old and
incomplete terminfo databases, and may lack color information for terminals that support it. Download and install the latest version of
ncurses and recompile fish against it in order to fix this issue.
Version 1.23.1 Sun Jan 8 2012 set_color(1)