[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Is there a tool to convert decimal/octal/hex ?



On Tue, 2004-06-01 at 13:58, Randy Kelsoe wrote:
> clemens 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 cfl rr com>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]