To identify if you are using 32 bit or 64 bit Linux OS, run command arch.
boby@sok-01:~$ arch x86_64 boby@sok-01:~$
You can also use uname command
boby@sok-01:~$ uname -i x86_64 boby@sok-01:~$
Another way is to use hostnamectl command and look for “Architecture”.
boby@sok-01:~$ hostnamectl Static hostname: sok-01 Icon name: computer-desktop Chassis: desktop Machine ID: 70486772aac1410c9a8031851ab60a0d Boot ID: 46ff31881cca4e7090edb35f2af89a4a Operating System: Ubuntu 18.04.2 LTS Kernel: Linux 4.15.0-55-generic Architecture: x86-64 boby@sok-01:~$
Leave a Reply