Home > Article > Operation and Maintenance > How many bits does linux check?
Linux system Check whether the currently installed system is 32-bit or 64-bit. The method is as follows:
[root@localhost mysql-5.1.57]# getconf LONG_BIT 64
Through the above command, you can easily see whether it is 64-bit. If the result It's 32, it's a 32-bit system.
The command to view Linux version information is as follows:
[root@localhost mysql-5.1.57]# lsb_release -a LSB Version: :core-4.0-amd64:core-4.0-ia32:core-4.0-noarch:graphics- 4.0-amd64:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-amd64:printing- 4.0-ia32:printing-4.0-noarch Distributor ID: CentOS Description: CentOS release 5.8 (Final) Release: 5.8 Codename: Final
Recommended learning: Linux video tutorial
The above is the detailed content of How many bits does linux check?. For more information, please follow other related articles on the PHP Chinese website!