Home > Article > Operation and Maintenance > How to check the number of bits in a Linux system?
How to check the number of bits in the Linux system:
Method 1
After opening the terminal, enter the command [getconf LONG_BIT], and then press Enter. The number of system digits will be returned;
[root@localhost mysql-5.1.57]# getconf LONG_BIT 64
Method 2
Still in the terminal, enter the command [uname -a] and press Enter
According to the returned information, if there is [ x86_64] means it is 64-bit, otherwise it means 32-bit
Recommended learning: Linux video tutorial
The above is the detailed content of How to check the number of bits in a Linux system?. For more information, please follow other related articles on the PHP Chinese website!