Tagged as: linux
It is easy to find out what the system architecture (64 bit/32 bit) of a Linux machine is, if it is needed for software installation or other purposes. This method also works on Mac or BSD.
It is easy to find out what the system architecture (64 bit/32 bit) of a Linux machine is, if it is needed for software installation or other purposes. This method also works on Mac or BSD.
Just open a terminal and paste in this command:
if [[ $(uname -m) == *"64"* ]]; then echo "64 bit"; else echo "32 bit"; fi;
The command will output 64 bit
if you are working on a 64 bit machine, otherwise it will emit 32 bit
.