echo
"ibase=16;obase=2;ABCDE123456789"
|
bc
# output :
# 10101011110011011110000100100011010001010110011110001001