echo "ibase=16; obase=A; FACE" | bc
'ibase' is input number base.
'obase' is output number base in ibase number.(10 is A in hexadecimal format).
'FACE' is the number.
when we dont specify any of the value, its assumed to be 10.
A few Day-to-Day life tricks of Linux.
echo "ibase=16; obase=A; FACE" | bc
No comments:
Post a Comment