Home  >  Article  >  Operation and Maintenance  >  How many bits does linux check?

How many bits does linux check?

尚
Original
2020-03-27 16:16:453964browse

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn