Prev: shebang and ubuntu
Next: rsync mystery
From: John Hasler on 9 Feb 2010 12:12 hehehe wrote: > I need to find program like cat to show bin file? hexdump. -- John Hasler jhasler(a)newsguy.com Dancing Horse Hill Elmwood, WI USA
From: ray on 9 Feb 2010 12:41 On Tue, 09 Feb 2010 12:19:12 +0100, hehehe wrote: > Hello! > > I need to find program like cat to show bin file? Where is any? > > regards - MJ Depends on what you're trying to do. 'strings' will show you ascii strings within the file. 'od' will dump the file - I often use 'od -bc'.
From: despen on 9 Feb 2010 19:28 Teemu Likonen <tlikonen(a)iki.fi> writes: > * 2010-02-09 12:19 (+0100), hehehe wrote: > >> I need to find program like cat to show bin file? Where is any? > > For interactive use I'd suggest Emacs and its hexl-mode. Command > > Alt+x hexl-find-file > > will open a file in hexl-mode. Emacs would be my first choice but given the question, "cat -v" should be mentioned...
From: Robert Nichols on 9 Feb 2010 22:35 In article <hks1io$hm4$2(a)reader2.panix.com>, Grant Edwards <invalid(a)invalid.invalid> wrote: :On 2010-02-09, Robert Heller <heller(a)deepsoft.com> wrote: :> At Tue, 9 Feb 2010 12:45:33 +0100 "hehehe" <m(a)m.ccc> wrote: :>> U??ytkownik "hehehe" <m(a)m.ccc> napisa?? w wiadomo??ci news:hkrgbh$1sji$1(a)news2.ipartners.pl... :>> :>>> I need to find program like cat to show bin file? Where is any? :>> :>> strings - works for me :> :> If the file really is binary, od can be used to display the :> contents in a variaty of formats (single bytes, shorts, and :> longs in hex, octal, decimal; as well as ascii characters). : :I find hexdump (espeically with the -C option) to produce more :usable output than od. Output from "hexdump -C" is essentially the same as that from "od -Ax -t x1z". -- Bob Nichols AT comcast.net I am "RNichols42"
From: Grant Edwards on 10 Feb 2010 10:03
On 2010-02-10, Robert Nichols <SEE_SIGNATURE(a)localhost.localdomain.invalid> wrote: > In article <hks1io$hm4$2(a)reader2.panix.com>, > Grant Edwards <invalid(a)invalid.invalid> wrote: >:On 2010-02-09, Robert Heller <heller(a)deepsoft.com> wrote: >:> At Tue, 9 Feb 2010 12:45:33 +0100 "hehehe" <m(a)m.ccc> wrote: >:>> U??ytkownik "hehehe" <m(a)m.ccc> napisa?? w wiadomo??ci news:hkrgbh$1sji$1(a)news2.ipartners.pl... >:>> >:>>> I need to find program like cat to show bin file? Where is any? >:>> >:>> strings - works for me >:> >:> If the file really is binary, od can be used to display the >:> contents in a variaty of formats (single bytes, shorts, and >:> longs in hex, octal, decimal; as well as ascii characters). >: >:I find hexdump (espeically with the -C option) to produce more >:usable output than od. > > Output from "hexdump -C" is essentially the same as that from > "od -Ax -t x1z". Apparently I was never bright enough to figure out and remember all of the appropriate od options. I do seem to be able to remember "hexdump -C". :) -- Grant Edwards grante Yow! TAILFINS!! ... click at ... visi.com |