How to check machine OS is 64 bit or 32 bit on ubuntu

use,   uname -a

if the result contains i386 it’s 32 bit and if the result contains x86_64 then it’s 64 bit

No images available.