How To Check If Your Operating System is 32bit or 64bit?

Everyone who uses a computer eventually runs into this question. So I want to write this post to create one page solution for the top 3 operating systems out there.

Mac OS X

If your operating system is Mac OS X, then just open the terminal (CMD+Spacebar and type terminal). Then type the command given below and it’ll return the result as 64 or 32.

getconf LONG_BIT

This is how it looks like when I execute that command on my Macbook Air.

screen-shot-2016-12-22-at-5-35-28-pm

Linux

For Linux OS, just type in this command –

uname -m 

If the result is x86_64 then you have 64 bit version of Linux, else it’s 32 bit.

Windows

For Windows, there is this decent WMIC command –

wmic OS get OSArchitecture 

If you’re running a 64bit version of Windows, it’ll return something like this –

OSArchitecture
32-bit 

So that’s all in short post. If you have anything to add, feel free to leave a comment below 🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s