I am not able to set alias of hexdump -e '/1 "%_ax) "' -e '/1 "%02X" "\n"'
I have tried following methods but failed:
alias analyze=\'hexdump -e '/1 "%_ax) "' -e '/1 "%02X" "\n"'\'
(note the first and last single quotes, I have escaped them both)
alias analyze='hexdump -e \'/1 "%_ax) "\' -e \'/1 "%02X" "\n"\''
(note in this case I have escaped all 4 single quotes in between the command)
alias analyze=hexdump -e '/1 "%_ax) "' -e '/1 "%02X" "\n"'
(not enclosing the command with quotes at all)
How do I set alias of hexdump -e '/1 "%_ax) "' -e '/1 "%02X" "\n"' in bash?