Get the App
SLTechnology News&Howtos  ›  Servers  › 

The operation method of checking the number of bits of the machine in Linux

Shulou Source: shulou.com Published: 2022-06-03 07:19:08 10月01日 Update

This article mainly introduces the operation method of checking the number of bits of the machine in Linux, which has a certain reference value, and friends who need it can refer to it. Let's take a look at how to check the number of bits of a machine in Linux.

How to check how many bits the machine is in Linux

1. Execute the uname-a command

The appearance of i686 (sometimes i386) in the result indicates that the operating system is 32-bit, but if x86 / 64 is displayed, it means that the operating system is 64-bit.

"

2. Run the uname-m command

The output shows x86'64, which means the system is 64-bit.

3. Use the file command

File / lib/systemd/systemd

It indicates that this is a 64-bit operating system, and if it is displayed as 32-bit, it means that the operating system is 32-bit.

4. Use the arch command

This command is used to output the hardware name of the machine. For a 64-bit operating system, the output should be x86room64.

5. Through the method of system setting

After reading the above, do you have a general idea of how to check the number of bits of the machine in Linux? If you want to know more, welcome to follow the industry information channel!

Tags: System machine operating system command method output above value name more sometimes friends hardware article results industry information information channel this is the channel Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology macOS Docker Xiaomi Linux