Home>Article>Operation and Maintenance> How to check how many bits a linux system is

How to check how many bits a linux system is

WBOY
WBOY Original
2022-01-04 09:50:48 15577browse

Method: 1. Use the "getconf LONG_BIT" command to view; 2. Use the "uname -a" command to view; 3. Use the "arch" command to view; 4. Use "file /lib/systemd/systemd" command to view.

How to check how many bits a linux system is

#The operating environment of this tutorial: linux7.3 system, Dell G3 computer.

How to check the system bit number of Linux

1. Use the getconf LONG_BIT command to check. The result is the system bit number of Linux.

The example is as follows:

How to check how many bits a linux system is

2. Directly enter [uname -a] and press Enter. In the results that appear, if [x86_64] appears, it means [ 64-bit operating system], otherwise it is a 32-bit operating system.

The example is as follows:

How to check how many bits a linux system is

3. Directly enter [arch] and press Enter to get the corresponding result.

How to check how many bits a linux system is

4. Use the "file /lib/systemd/systemd" command to view

How to check how many bits a linux system is

Related recommendations: "Linux video tutorial

The above is the detailed content of How to check how many bits a linux system is. 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