bash ascii to hex
You have several options
$ printf hello | xxd0000000: 6865 6c6c 6f hello
See also:Ascii/Hex convert in bash
You have several options
$ printf hello | xxd0000000: 6865 6c6c 6f hello
See also:Ascii/Hex convert in bash