user1006042
user1006042

Reputation: 97

Sifting through binary data on Linux?

I have a directory in which I want to look for any copy of the number "512245" There are several files of multiple types, so I can't search them directly

What's the easiest way to analyze the binary of all these files looking for this number? That'd be "1111101000011110101"

Upvotes: 0

Views: 292

Answers (2)

TJD
TJD

Reputation: 11896

you can pipe the output of hexdump to grep

Upvotes: 0

torgny
torgny

Reputation: 176

od and grep could do the job.

Upvotes: 1

Related Questions