![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to delete/remove directory in fastest way | getdpg | Shell Programming and Scripting | 6 | 03-07-2006 07:42 AM |
| fastest way to remove duplicates. | radhika | Shell Programming and Scripting | 15 | 11-03-2005 04:27 AM |
| Append a field to the end of each line of a file based on searching another file. | ultimate | Shell Programming and Scripting | 2 | 03-29-2005 07:21 AM |
| fastest copy command | vascobrito | UNIX for Dummies Questions & Answers | 0 | 07-20-2004 03:02 AM |
| Tests of AMD's 64-bit PCs: Fastest yet | Neo | News, Links, Events and Announcements | 0 | 09-24-2003 08:21 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Fastest way for searching the file
I want to search a file in fastest manner.
Presently I am using 'find' command. But it is taking around 15min for searching. Is there any other method through which I can do it fast? |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
if you know where the file roughly is, you can specify the directory to find, instead of using /.
|
|
#3
|
|||
|
|||
|
Actually I want to do search from root / and find out the all path for that file.
|
|
#4
|
||||
|
||||
|
use locate or slocate, if present on your distro - this utility maintains an internal DB, does file indexing, thus search is much more faster.
|
||||
| Google The UNIX and Linux Forums |