Re: how to identify 32 vs 64 bit CPU?

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

 



At 7:58 AM -0400 8/9/07, Robert P. J. Day wrote:
>  i'm sure there's a trivial way to do this, but what's a simple way
>to tell if a system has a 32 or a 64 bit CPU?  something that i could
>run from within a script.  thanks.

How about uname?  `uname -a` gives all of it.  See `man uname` for subsets
and the ordering of the "-a" output.  If you need more than just x86, I
think any solution will be a bit involved.
-- 
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson@xxxxxxxxxxxxxxxxx>
      '                              <http://www.georgeanelson.com/>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux