![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Script Error: 13192.sumr: 0403-016 Cannot find or open the file. | jgruenwald | Shell Programming and Scripting | 0 | 01-21-2008 12:08 PM |
| how to find the owner PID of open socket on Solaris9? | sleepy_11 | UNIX for Dummies Questions & Answers | 1 | 12-11-2007 06:18 AM |
| Error Message: find: cannot open /: Stale NFS file handle | ezsurf | SUN Solaris | 1 | 10-11-2007 08:04 PM |
| Open Source Is Dead, Long Live Open Patents? - InformationWeek | iBot | UNIX and Linux RSS News | 0 | 07-13-2007 02:00 PM |
| getting error 0403-016 Cannot find or open the file while reading a long line | karthee | Shell Programming and Scripting | 2 | 06-05-2005 12:00 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
find - How to get rid of can not open msg
I am trying to list file names that contains a give string using this command:
$ find . -name "*" -maxdepth 1 -exec grep "*mystring*" {} \; I get lots of messages like the ones below: grep: Cannot open file './NTUSER.DAT': Device busy grep: Cannot open file './ntuser.dat.LOG': Device busy My quesiton is: 1- Is the above command correct? 2- Is there a way to get rid of the messages and only keep the files that were opened OK? Thanks, ![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|