How can I view a file in octal or hexadecimal?

How can I view a file in octal or hexadecimal? Added: 07/08/02


For octal, use:

$ od -b file

For hexadecimal, use:

$ xd -b file



Home
FAQ