Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 01-12-2009, 01:11 AM   #1
Registered: Dec 2004
Location: India
Distribution: ubuntu 10.04 , centos 5.5 , Debian lenny, Freenas
Posts: 324

Rep: Reputation: 36
Question hexdump vs od

Hi all,

What exactly is the trade off or subtle difference b/w od and hexdump utilities ?

Can any one give examples where hexdump is preferred over od and vice versa ?

They both serve the same purpose isn't it ?
Old 01-12-2009, 03:35 PM   #2
Registered: Oct 2002
Location: Delft, Netherlands
Distribution: Gentoo
Posts: 196

Rep: Reputation: 33
Do 'info od' and look at 'Rationale'. An exceprt:

     The od utility went through several names in early proposals, including
       hd, xd, and most recently hexdump. There were several objections to all
       of these based on the following reasons:

        * The  hd  and  xd  names  conflicted  with  historical utilities that
          behaved differently.

        * The hexdump description was much more complex than needed for a sim-
          ple dump utility.

        * The  od utility has been available on all historical implementations
          and there was no need to create a new name for a utility so  similar
          to the historical od utility.
It continues with a discussion about standardisation.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:25 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration