simple unix question
I need to find out sqlnet.log file. What is the command to find a file in Sun 5.8 ?...
thanks a lot
find / -name sqlnet.log -print
I'm guessing that the unix command "find" is available in Solaris so issuing man find should tell you how to search for a file e.g.
find /dirname -name sqlnet.log
The sqlnet.log file should be located in $ORACLE_HOME/network/log.
Here's a tip about finding files for an installed program - useful when there are a gazillion files installed (like Oracle) and the files are pretty much static (names don't change that often)
In the directory for ORACLE_HOME, do the following:
ls -laR > 9i.files
That will list all files and output them to a file named 9i.files. When you need to find a file, you can vi the 9i.files file, do a search for the file name, then scroll up (if necessary) to see which directory the file is in. The file for 9i takes about 5 MB of disk space.
Nice tip Steve. No, I said TIP
Click Here to Expand Forum to Full Width