Actually, none of those additional characters are necessary. Simply issuing this command: locate rpm will find all files and directories that have those three characters in that order in their name. Depending on which version of locate/slocate you're running, the search will even be case insensitive. The newer versions that I've been running are not that way, case does matter. If, as you suggested, you want to limit things a bit, then locate /rpm will find just those file or directory names are start with those three characters in that order. A lot of times, I'll do "locate bin/foo" or something similar, if I'm fairly sure the file is in one of the program directories.
Mark Post -----Original Message----- From: John Summerfield [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 2003 6:40 PM To: [EMAIL PROTECTED] Subject: Re: Man formatting problem On Wed, 28 May 2003 03:39, you wrote: > find / -name "rpm.*" > > Or, if you have "locate" running, try: > > locate 'rpm.*' No. locate '*rpm.*' Maybe better: locate '*/rpm.*' This is not a regex, and the dot is a character to be found. With locate, if you use an asterisk wherever there are characters you don't care about. -- Cheers John Summerfield Microsoft's most solid OS: http://www.geocities.com/rcwoolley/ Join the "Linux Support by Small Businesses" list at http://mail.computerdatasafe.com.au/mailman/listinfo/lssb