Is there a unix program to display ASCII ? Hex ?

Sometimes I need a program to just display ASCII codes, rather than look it up. I wrote a program in C to do this on Win/XP using Watcom. Is there a unix program that does this ?

Also, it there a program like Frhed to display a file in hex for unix ?
 
Years ago I wrote a small utility that displays the ASCII code of keys pressed as decimal, hexadecimal, octal. binary and symbolic names. I still use it occasionally.
 

Attachments

There is also a program called xxd which can take a hex dump and change it to binary. It is sometimes usefull in shell script tha need to manipulate binary files.
 
Back
Top