Introduction to the method of linux to check how many bits the system is
Today, the editor to share with you is linux to see how many systems are introduced, many people do not understand, today the editor in order to let you know more about linux, so give you a summary of the following content, let's look down. I'm sure you'll get something.
The Linux system checks whether the currently installed system is 32-bit or 64-bit. The method is as follows:
[root@localhost mysql-5.1.57] # getconf LONG_BIT64
From the above command, you can easily see that it is 64-bit, and if the result is 32, it is a 32-bit system.
The command to view Linux version information is as follows:
[root@localhost mysql-5.1.57] # lsb_release-aLSB 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-noarchDistributor ID: CentOSDescription: CentOS release 5.8 (Final) Release: 5.8Codename: Final
This is the end of the introduction of the method of viewing how many bits of the linux system is shared here, of course, not only the above and everyone's analysis methods, but the editor can ensure its accuracy is absolutely no problem. I hope that the above content can have a certain reference value for everyone, and can be put into practice. If you like this article, you might as well share it for more people to see.