How do I determine word size on a Linux system? - TechRepublic
Question
April 14, 2007 at 02:03 AM
rick

How do I determine word size on a Linux system?

by rick . Updated 16 years, 2 months ago

I write a software package that has to run on a variety of Linux systems. Which files are installed depend upon whether the system uses 32- or 64-bit architecture. I haven’t found a reliable way to determine the word size of the current machine. Is there a simple (or even complex) way to tell using shell commands the bitness of a given machine?

This discussion is locked

All Comments