Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

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

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

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!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report