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>/* So that would look like, in my case... grep -| setup.inc ./* bash: setup.inc command not found. What did I do wrong? TIA, BenO _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list