![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| takes time to connect my application | Gods_help | SUN Solaris | 2 | 11-06-2008 12:10 PM |
| shell script takes long time to complete | ozzman | Shell Programming and Scripting | 12 | 02-05-2007 11:25 PM |
| why shell scripting takes more time to read a file | brkavi_in | Shell Programming and Scripting | 1 | 06-23-2006 09:20 AM |
| fwrite takes extremely long time | inna | High Level Programming | 5 | 07-06-2005 07:19 AM |
| Writing file to disk takes time | nileshkarania | UNIX for Dummies Questions & Answers | 7 | 06-16-2003 09:51 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
find command takes a lot of time ( can I skip directories)
I have a file called "library" with the following content
libnxrdbmgr.a libnxrdbmgr.so libnxtk.a libnxtk.so libora0d_nsc_osi.so I am trying to locate if these libraries are on my machine or not. find command runs for about few seconds and hangs after this. Can someone please help me and let me know if there is a better way. Is there a way I can ignore a directory and its sub directories during the find process find: cannot read dir /ssttools/performance/RMCmem: Permission denied $ for i in `cat library` do find / -name $i -print | grep $i >> outputfile done find: cannot read dir /proc/24250: Permission denied find: cannot read dir /proc/17502: Permission denied find: cannot read dir /tmp/smc898: Permission denied find: cannot read dir /tmp/config_pvr: Permission denied find: cannot read dir /export/home/dwgore/.rhosts: Permission denied find: cannot read dir /export/home/mgalvin/.rhosts: Permission denied find: cannot read dir /export/home/nmsbb/.ssh: Permission denied find: cannot read dir /export/home/www/.ssh: Permission denied find: cannot read dir /ssttools/performance/RMCmem: Permission denied It is taking a lot of time here before it can go to next |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|