On Fri, 2008-10-03 at 16:04 +0200, Niki Kovacs wrote: > tony.chamberlain@xxxxxxxxx a écrit : > > I am looking for something similar to the windows SEARCH FILES comman > > with the option "files containing ..." (that is where I can specify a > > string and it will find all files containing that string -- not just having > > the string as part of the name but actually containing it in the text). > > > > Is there some way to do this? > > > grep is your friend. Let's say you are looking for the character string > 'UserDir' below your /etc directory. Then you would simply do: > > [root@grossebertha ~]# grep -R UserDir /etc/ If that might put out a lot and you want only a list of file names, add -l or --files-with-matches <snip> -- Bill _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos