Solved

to find

Posted on 2014-02-26
5
202 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

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Shell script errors 10 141
unix scripting question 1 104
Where to get php 5.6 for AIX 7.1? 5 118
Need a version of telnet and/or ssh that supports tcp wrappers on AIX 5.1 16 98
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

828 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