Re: [SLE] grep
From: Brett Russ (icycle_at_charter.net)
Date: 02/29/04
- Previous message: N1UAN Bob: "[SLE] grep"
- In reply to: N1UAN Bob: "[SLE] grep"
- Next in thread: Brett Russ: "Re: [SLE] grep"
- Reply: Brett Russ: "Re: [SLE] grep"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 28 Feb 2004 20:53:02 -0500 To: suse-linux-e@suse.com
N1UAN Bob wrote:
> Wonder if someone could give me the way to grep for an word within all
> files on my system like the filename would be XXXX.XX
find / -type f -iname '????\.??' | xargs grep -i 'word'
will do a case insensitive file match for all files with 4 chars
followed by a literal '.' followed by 2 chars then do a case insensitive
search for 'word' on those files.
HTH,
BR
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
- Previous message: N1UAN Bob: "[SLE] grep"
- In reply to: N1UAN Bob: "[SLE] grep"
- Next in thread: Brett Russ: "Re: [SLE] grep"
- Reply: Brett Russ: "Re: [SLE] grep"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|