DBAsupport.com Forums - Powered by vBulletin
Results 1 to 5 of 5

Thread: simple unix question

  1. #1
    Join Date
    Oct 2002
    Posts
    284

    simple unix question

    Hello all..

    sun 5.8

    I need to find out sqlnet.log file. What is the command to find a file in Sun 5.8 ?...

    thanks a lot
    Ron

  2. #2
    Hi,

    Try this:

    find / -name sqlnet.log -print

    regards,
    feroz

  3. #3
    Join Date
    May 2002
    Location
    Western Australia
    Posts
    233
    Hi,

    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.

    HTH

    Nick

  4. #4
    Join Date
    May 2002
    Posts
    2,645
    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.

  5. #5
    Join Date
    May 2002
    Location
    Western Australia
    Posts
    233
    Nice tip Steve. No, I said TIP

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width