bash Scripts

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Austin Godber
Date:  
Subject: bash Scripts
hexdump takes either a file or a commandline string that can describe
the format of the dump you want. The man page has a description of
this.

William Lindley wrote:
>
> George Toft wrote:
> > Run hexdump on the script and post the results.  The hexdump should look
> > *exactly* like this:
> > $ hexdump -xc test
> > 0000000    2123    622f    6e69    622f    7361    0a68    6f66    2072
> > 0000000   #   !   /   b   i   n   /   b   a   s   h  \n   f   o   r

>
> Is there an easy way to make traditional CP/M style hex dumps from a file?
> For example the above would be:
>
> 0000:0000 23 21 2F 62 69 6E 2F 62 : 61 73 68 0A 66 6F 72 20 #!/bin/bash.for
>
> (which will probably get wrapped in this email). Even better would be
> something like CP/M's DFX (Disk Fix) or Norton Utilities of old which
> would permit hex editing through a "curses" style interface. I miss those
> incredibly handy low-level tools!
>
> Does such a thing exist for linux?
>
> \\/
>
> ________________________________________________
> See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post to the list quickly and you use Netscape to write mail.
>
> PLUG-discuss mailing list -
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss