September 10, 2007: Linux Hints, Tips, and Tricks
September 10, 2007: Linux Hints, Tips, and Tricks
Note that the hex value must be in uppercase letters if you use the bc command. To convert decimal to hex:
$ echo 'obase=16; ibase=10; 255' | bc FF
Or to do definition lookups:
$ units -t '1 googol' Definition: 1e+100