Home  >  Article  >  Operation and Maintenance  >  Two ways to check the number of bits in a Linux system

Two ways to check the number of bits in a Linux system

王林
王林Original
2019-12-06 09:50:084226browse

Two ways to check the number of bits in a Linux system

Method 1:

Right-click on the desktop and click [Open Terminal]

Two ways to check the number of bits in a Linux system

After opening the terminal, Enter the command [getconf LONG_BIT] and press Enter, the system number of bits will be returned; as shown in the figure:

Two ways to check the number of bits in a Linux system

Recommended online video tutorial: linux video tutorial

Method 2:

Still in the terminal, enter the command [uname -a] and press Enter

Two ways to check the number of bits in a Linux system

According to the returned information, If there is the word [x86_64], it means it is 64-bit, if it does not, it means 32-bit.

Two ways to check the number of bits in a Linux system

Recommended related articles and tutorials: linux tutorial

The above is the detailed content of Two ways to check the number of bits in a Linux system. 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
Previous article:Is linux free?Next article:Is linux free?