The operation method of checking the number of bits of the machine in Linux
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!