• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 208
  • Last Modified:

to find

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
thomasliju
Asked:
thomasliju
1 Solution
 
WebDevEMCommented:
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
 
Brian UtterbackPrinciple Software EngineerCommented:
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
 
Brian UtterbackPrinciple Software EngineerCommented:
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
 
Archzilon Eshun-DaviesCommented:
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
 
thomaslijuAuthor Commented:
find option is really helpful.

Thank you.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now