Usually we know these files we easily get at /etc in Linux and AIX. Here we are talking about Solaris machine.
In Solaris we can find these two files at the below location:
Just to know the release on which we are working:
bash-3.00$ cat /etc/release
Oracle Solaris 10 9/10 s10s_u9wos_14a SPARC
Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
Assembled 11 August 2010
Path for Both the files:
bash-3.00$ ls -l /var/opt/oracle/oraInst.loc
-rw-r–r– 1 oracle dba 58 Apr 10 2006 /var/opt/oracle/oraInst.loc
bash-3.00$ ls -l /var/opt/oracle/oratab
-rw-rw-r– 1 oracle dba 1006 Aug 12 14:51 /var/opt/oracle/oratab
So the default path for these two files is: /var/opt/oracle.
Let me know if anything else need to add in this post..