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/>