if ORACLE_HOME is defined
find $ORACLE_HOME -name sql.bsq
find $ORACLE_HOME -name catalog.sql
or
find $ORACLE_HOME \( -name catalog.sql -o -name sql.bsq \)
if ORACLE_HOME is not defined
find / \( -name catalog.sql -o -name sql.bsq \)
List of variable need to be in your .login or .profile etc
ORACLE_ACCOUNTNAME=oracle
ORACLE_HOME=/u02/app/oracle/product/10.2.0.1.0
ORACLE_SID=mymachinename
The other environnmental variable need to be updated
PATH should be appended with oracle bin
LD_LIBRARY_PATH should be appended with to oracle lib
RUV