[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now



Posted on 2006-03-27
Medium Priority
Last Modified: 2010-04-21
Hi Experts,

I need to find a directory called linu on a server. I know a couple of filename in that dir such as nuy.sql, nut.sql. Is there a quick and easy way to find this directory? I tired using below scripts. but it is very slow.

find / -name 'nu*'

Please help!!

Thanks! NW
Question by:nightworker
LVL 85

Assisted Solution

ozo earned 400 total points
ID: 16301416
find / -name 'linu' -type d
LVL 45

Accepted Solution

sunnycoder earned 1600 total points
ID: 16301423
Hi nightworker,

find / -name linu -type d

May be you can rule out a few directories such as home etc. for which you are sure that directory does not exist there.

If location is not known, then there is no alternative to search ... background it and let it run for a while

LVL 62

Expert Comment

ID: 16302805
You can use 'locate', which builds file database every week from cron or so.

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
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…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.
Suggested Courses
Course of the Month19 days, 1 hour left to enroll

834 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