Low level Disk Search
Karl Auer
kauer at biplane.com.au
Sun Jul 7 13:26:06 UTC 2013
On Sun, 2013-07-07 at 22:58 +1000, GaryT wrote:
> Does anyone know of a program that will search a Linux disk at low
> level, seeking out character strings etc.
The "strings" command does exactly this.
> This is NOT the find program. I'm looking for a little routine that
> reads straight off the disk, disregards file boundaries, can't be
> bothered about the function of the file it's looking in, etc. This
> routine will start at Sector 0 and just read characters, looking for a
> particular string match.
strings will do it on anything. Run the output from dd through strings
and it will do what you want.
man strings
man dd
Regards, K.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer
http://twitter.com/kauer389
GPG fingerprint: B862 FB15 FE96 4961 BC62 1A40 6239 1208 9865 5F9A
Old fingerprint: AE1D 4868 6420 AD9A A698 5251 1699 7B78 4EEE 6017
More information about the ubuntu-users
mailing list