Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jun 2013 11:19:24 +0430
From:      s m <sam.gh1986@gmail.com>
To:        Ayan George <ayan@ayan.net>, freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: change specified byte in a hex file
Message-ID:  <CAA_1SgGFjs-CnbLcnsfaXS-wuwZ5uqf9CRpjup8fBDCb6D8Cbw@mail.gmail.com>
In-Reply-To: <51AC3963.9090602@ayan.net>
References:  <CAA_1SgECkODHZXd0J1UHabAnNRNkcCxeRz9hWNKK0WNgAV4Xbg@mail.gmail.com> <51AC3963.9090602@ayan.net>

next in thread | previous in thread | raw e-mail | index | archive | help
thanks Ayan,

but isn't there any command in freebsd to do it for me??


On Mon, Jun 3, 2013 at 11:06 AM, Ayan George <ayan@ayan.net> wrote:

> On 06/03/2013 02:28 AM, s m wrote:
> > hi folks,
> >
> > i want to change a specified byte in a hex file. i want to edit my file
> and
> > change byte 0x28a content from 0x08 to 0x14.
> >
> > i try to do it with hex-editor in windows but this file is too big and i
> > can't transfer it to the other system. i think it should be done by some
> > commands such as "dd" but i don't know how to use it.
> >
> > please help me to edit my file.
> > thanks in advance,
> > SAM
> >
>
> Use a decent hex editor or write a small C program to edit the file.
>
> -ayan
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAA_1SgGFjs-CnbLcnsfaXS-wuwZ5uqf9CRpjup8fBDCb6D8Cbw>