Re: search for specific pattern

2012-01-14 Thread Vincent Lefevre
On 2012-01-14 14:08:36 -0500, Tony Baldwin wrote: > ls -Rt | grep .cmap > would list all such files under the current dir, showing the most > recently edited first. There are two problems with that. First, by default with grep, "." will match any character and you may get too much output. So, inst

Re: search for specific pattern

2012-01-14 Thread Tony Baldwin
On Sat, Jan 14, 2012 at 07:59:21PM +0100, roberto wrote: > Hello, > i am looking for a file whose name i don't remember. > I only know it has the extension ".cmap" and is inside my home folder. > Which is the correct search pattern to be passed to find program ? You have all kinds of options. lo

Re: search for specific pattern

2012-01-14 Thread Marcos Toro Oyarzo
try with: find $HOME -name "*.cmap" On Sat, Jan 14, 2012 at 3:59 PM, roberto wrote: > > Hello, > i am looking for a file whose name i don't remember. > I only know it has the extension ".cmap" and is inside my home folder. > Which is the correct search pattern to be passed to find program ? > > T

search for specific pattern

2012-01-14 Thread roberto
Hello, i am looking for a file whose name i don't remember. I only know it has the extension ".cmap" and is inside my home folder. Which is the correct search pattern to be passed to find program ? Thank you very much ! -- Roberto -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.o