Is there a tool to convert decimal/octal/hex ?
Scot L. Harris
webid at cfl.rr.com
Tue Jun 1 22:51:23 UTC 2004
On Tue, 2004-06-01 at 13:58, Randy Kelsoe wrote:
> clemens at dwf.com wrote:
>
> >I seem to remember that there used to be a tool in Linux to
> >convert between decimal and octal and Hex, but I havent
> >stumbled over it in my recent search.
> >
> >Anyone know of such a beast?
> >
> In gnome, click on the Fedora Button => Accessories => Calculator. In
> the calculator, click on "View" and select 'Scientific Mode'. From a
> command line, type 'gcalctool'.
>
How about the bc command. If you run it in interactive mode you can
then specify the base using the command ibase=16 (for hex) then any
numbers you enter will be converted.
--
Scot L. Harris <webid at cfl.rr.com>
More information about the fedora-list
mailing list