Asked • 05/20/19

How to determine whether a given Linux is 32 bit or 64 bit?

When I type `uname -a`, it gives the following output. Linux mars 2.6.9-67.0.15.ELsmp #1 SMP Tue Apr 22 13:50:33 EDT 2008 i686 i686 i386 GNU/Linux How can I know from this that the given OS is 32 or 64 bit? This is useful when writing `configure` scripts, for example: what architecture am I building for?

1 Expert Answer

By:

Suman R. answered • 10/13/20

Tutor
New to Wyzant

Java and Computer Science Tutor

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.