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.
This is how it looks like when I execute that command on my Macbook Air.
For Linux OS, just type in this command –
If the result is x86_64 then you have 64 bit version of Linux, else it’s 32 bit.
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 –
So that’s all in short post. If you have anything to add, feel free to leave a comment below 🙂