From owner-freebsd-questions@FreeBSD.ORG Mon Jun 3 06:49:26 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 2F767C93 for ; Mon, 3 Jun 2013 06:49:26 +0000 (UTC) (envelope-from sam.gh1986@gmail.com) Received: from mail-la0-x236.google.com (mail-la0-x236.google.com [IPv6:2a00:1450:4010:c03::236]) by mx1.freebsd.org (Postfix) with ESMTP id AE2DE1A45 for ; Mon, 3 Jun 2013 06:49:25 +0000 (UTC) Received: by mail-la0-f54.google.com with SMTP id ec20so1905926lab.41 for ; Sun, 02 Jun 2013 23:49:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=3U5MHURFBj87vIIOeSXvCZPKgWHxaQk0NuUzAhXxcqU=; b=H/dGJWXug1sOtGn6w2WBJh2zf4MFsIh1SNNiKbk1NpuKwGKh7TDW6KBSvklAsmo6Au glzXT4KEcMXfSYN2KOYwp64E2t7ettlQTdwD3H4XH/MeODkFATO3cdK121FvIpjYm4vd 7JyWcJ1nD+m8P2QR62wA7+N09D+xZl8JbkmcFFuoECC2GYZ0momRSN04jFxANTfoDXpz SaNCI1Hnq3kHC01pIl6zi/YLr9JaisZsucMUTtxYkvDCB+tKDRU7/IMxcKjdVbeMtgK6 H8rCr4AMatHYdnGf8iQL5iDt7oQ74/HAyImztBqME5EByA6CgfTLz3bPkkYny4nWozh7 b7YQ== MIME-Version: 1.0 X-Received: by 10.112.188.231 with SMTP id gd7mr10185124lbc.26.1370242164618; Sun, 02 Jun 2013 23:49:24 -0700 (PDT) Received: by 10.112.218.8 with HTTP; Sun, 2 Jun 2013 23:49:24 -0700 (PDT) In-Reply-To: <51AC3963.9090602@ayan.net> References: <51AC3963.9090602@ayan.net> Date: Mon, 3 Jun 2013 11:19:24 +0430 Message-ID: Subject: Re: change specified byte in a hex file From: s m To: Ayan George , freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jun 2013 06:49:26 -0000 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 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 > >