home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / shell / 5198 < prev    next >
Encoding:
Text File  |  1992-12-30  |  1.1 KB  |  32 lines

  1. Newsgroups: comp.unix.shell
  2. Path: sparky!uunet!panther!mothost!lmpsbbs!markn
  3. From: markn@ssd.comm.mot.com (Mark Nowak)
  4. Subject: Help using find with wildcards
  5. Organization: Motorola
  6. Date: Wed, 30 Dec 1992 14:03:56 GMT
  7. Message-ID: <1992Dec30.140356.22976@lmpsbbs.comm.mot.com>
  8. Sender: news@lmpsbbs.comm.mot.com (Net News)
  9. Nntp-Posting-Host: 145.1.54.101
  10. Lines: 20
  11.  
  12. Anybody know how to find files, directories, etc. when you
  13. don't know the exact name of the file you're looking for.
  14. For example, I'm looking for file abcde in some directory
  15. tree, but the only characters I know for sure are bcd.  Is
  16. there a wat to use find to locate this file?
  17.  
  18. I'm thinking of something along the lines of:
  19.  
  20. find . -name *bcd* -print
  21.  
  22. but that doesn't work.
  23.  
  24. Any ideas would be appreciated.  Thanks.
  25.  
  26.  
  27. -- 
  28. Mark Nowak                          | By means of the easy and the simple we
  29. Motorola, Inc.                      | grasp the laws of the whole world.  When
  30. Chicago, Illinois                   | the laws of the whole world are grasped,
  31. INTERNET: markn@ssd.comm.mot.com    | therein lies perfection. - I Ching
  32.