Solved

to find

Posted on 2014-02-26
5
182 Views
Last Modified: 2014-10-15
to find where in the server is the particular folder


 find DUMP_EXADATA
find: stat() error DUMP_EXADATA: No such file or directory
nj09mhf0362[oracle:sprefuat1] 98: where is DUMP_EXADATA
where: Command not found
nj09mhf0362[oracle:sprefuat1] 99: whereis DUMP_EXADATA
whereis: Command not found
nj09mhf0362[oracle:sprefuat1] 100:


where is DUMP_EXADATA  ?
0
Comment
Question by:thomasliju
5 Comments
 
LVL 9

Accepted Solution

by:
WebDevEM earned 500 total points
ID: 39889788
Try this...
find / -name "DUMP_EXADATA" -print

Open in new window

You also might want to pipe it to more to pause after each screenful, especially if you start getting access denied messages.
find / -name "DUMP_EXADATA" -print | more

Open in new window

0
 
LVL 22

Expert Comment

by:blu
ID: 39889974
If you know that the directory is under a particular part of the systems file directory tree, (e.g. if you know that it is under /export) then you can "cd" to that directory (cd /export) and then use the find command above, but instead of "/" use "."
0
 
LVL 22

Expert Comment

by:blu
ID: 39889981
Or you can replace the "/" with the actual path so that you get

find /export -name DUMP_EXADATA

In this case you don't need the quotes or the "-print" since "-print" is the default.
0
 
LVL 1

Expert Comment

by:Archzilon Eshun-Davies
ID: 39890000
The best solution in a unix system is to combine the utils in your case you need to combine find and grep so to find your DUMP_EXADATA do:
cd /
find * | grep "DUMP_EXADATA" | less

Open in new window

0
 

Author Closing Comment

by:thomasliju
ID: 40383647
find option is really helpful.

Thank you.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now