but the best part is, use the
"obase" and "ibase" commands for all
your conversion needs.
For example, type:
obase=16
then type:
255
This will output "FF".
Next, if you type:
obase=2
Then a dot (or period), it stands for
"the last number")
It will return "11111111", that's 255 in binary!
If you need hex to dec,
just type "ibase=16" and "obase=10"
Have fun!
NOTE: All tips provided are USE AT YOUR OWN RISK. Tips are submitted
by various unix admins around the globe. UGU suggest you read and
test each tip in a non-volitile environment before placing into
production.