Alternatively, provide a fallback using od (octal dump) or hexdump , but note they output differently.