On Tue, 25 Dec 2001, Ben Ocean wrote: > At 12:52 AM 12/26/01 +1000, you wrote: > >On Tue, 25 Dec 2001, Ben Ocean wrote: > > > > > Hi; > > > I need to be able to search the files in a directory for a certain word > > and > > > return the files that have it. What's the easy way to do this? > > > >grep -l word dir/* > > Just to make sure I have this right... > grep <dash> <pipe> <my chosen word> <the directory it's in>/*
that's not a pipe, that's an "ell". and you would be strongly urged to read the man page for grep. rday _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list