Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> osh
Oracle 8.1.7 on AIX 5.2
The script oraenv, found in $ORACLE_HOME/bin and /usr/local/bin contains the following lines:
# Locate "osh" and exec it if found
ULIMIT=3D`LANG=3DC ulimit 2>/dev/null`
if [ $? =3D 0 -a "$ULIMIT" -lt 2113674 ] ; then
if [ -f $ORACLE_HOME/bin/osh ] ; then
exec $ORACLE_HOME/bin/osh
else
for D in `echo $PATH | tr : " "` do if [ -f $D/osh ] ; then exec $D/osh fi done
What is this supposed to do?
On my system, if ulimit is set to 2097151, the call to osh gives me osh [-1]
: Error 0
If ulimit is set to "unlimited" the first "if" statement in the above script fragment fails.
Right now, I have this whole section of the script commented out in my =
development
environment. Am I going to break anything by doing this?
Thanks,
Peter Schauss
-- http://www.freelists.org/webpage/oracle-lReceived on Mon Dec 20 2004 - 09:02:55 CST
![]() |
![]() |