Hacker News new | past | comments | ask | show | jobs | submit login

$ od -cx file

or

$ other_command_or_pipeline | od -cx

is from early versions of Unix. Prints both character and hexadecimal representation of each byte in the input.

$ man od




This isn't nearly as pretty and usable as hexyl's output IMO, but always awesome to have the more readily available method!


Thanks. Yes, od's ubiquity on Unix was the reason why I mentioned it.

And right, it's output has issues for some uses.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: