Re: grep in multiple binaries
From: Mark M (mark_1702_at_hotmail.nospam.com)
Date: 11/18/03
- Next message: RRG: "Solaris Security Summary"
- Previous message: Bruce D Porter: "Re: Basic Solaris Questions"
- In reply to: Dede: "grep in multiple binaries"
- Next in thread: Centurion: "Re: grep in multiple binaries"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 18 Nov 2003 18:00:44 -0000
Hi,
Could you not use something like this:
strings `find /opt -name "*.KOF"` | grep SZR
to see if your search term is there?
Mark
"Dede" <d.bornhof@web.de> wrote in message
news:81153b4f.0311180642.41c49031@posting.google.com...
> I'm trying to find an expression in multiple binaries on a Solaris 8
> machine.
> With "find /opt -name *.KOF -exec grep SZR {} \;" I got nothing.
> When I search for plain text files I got a result.
>
> With "find /opt -name *.KOF | xargs strings | grep SZR" I got a result
> list but without the filenames.
>
> Any ideas?
>
> By the way, after this case I want to substitute a strings in multiple
> binaries, but no idea how to do this elegant.
>
> Thanks.
- Next message: RRG: "Solaris Security Summary"
- Previous message: Bruce D Porter: "Re: Basic Solaris Questions"
- In reply to: Dede: "grep in multiple binaries"
- Next in thread: Centurion: "Re: grep in multiple binaries"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|