Re: [SLE] grep
From: James Knott (james.knott_at_rogers.com)
Date: 02/29/04
- Previous message: Brett Russ: "Re: [SLE] grep"
- In reply to: N1UAN Bob: "[SLE] grep"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 28 Feb 2004 21:15:07 -0500 To: suse-linux-e@suse.com
N1UAN Bob wrote:
> Hi
> 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
> seems no matter what i been trying i am just not doing it right
> thanks in advance
> Bob
>
>
>
You might try the following, from O'Reilly's "Unix Power Tools"
find . -type f -print | xargs fgrep 'text' /dev/null
Replace "text" with the word you're looking for. You might also want to
replace the "." after find, with "/", to start from /, instead of the
current directory.
-- 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: Brett Russ: "Re: [SLE] grep"
- In reply to: N1UAN Bob: "[SLE] grep"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|