Heh, On Mon, Nov 28, 2011 at 09:59:59AM -0900, rogerx....@gmail.com wrote: > Thanks for the tip! Been awhile since I looked at man locate. ;-)
It is always amazing ;-) > > On Mon, Nov 28, 2011 at 04:19:10PM +0100, u...@netbeisser.de wrote: > >Heh, >On 27 November 2011 23:13, Roger <rogerx....@gmail.com> wrote: locate "stest" |grep ^stest$ > .. > locate "lstest" > /usr/bin/mtoolstest > /usr/share/man/man1/mtoolstest.1.bz2 >On Linux, one can use -r switch to locate: >, locate -r '^/bin/ls$' >/bin/ls Since, on FreeBSD, there isn't such a switch, I found something like locate '/bin[/]cp' to be useful. Cheers, -- -- Stefan Kuttler ==*== nc.netbeisser.de