Home > Article > Operation and Maintenance > How to check if the CPU supports 64-bit in Linux
Linux is a UNIX-like operating system that is free to use and spread freely. It is a multi-user, multi-task, multi-thread and multi-CPU operating system based on POSIX. It uses Linux can run major Unix tool software, applications and network protocols.
Check whether there is lm in cpuinfo. If there is lm, it means 64-bit support. lm means long mode. The specific command is as follows:
cat /proc/cpuinfo | grep flags
Or check whether there is lm character in the output
cat /proc/cpuinfo | grep flags | grep lm | wc -l
The output result is greater than 0, indicating that 64-bit is supported.
Linux versions include: Deepin, UbuntuKylin, Manjaro, LinuxMint, Ubuntu and other versions. Among them, Deepin is one of the best-developed Linux distributions in China; Ubuntu Kylin is a derivative distribution based on Ubuntu; Manjaro is a Linux distribution based on Arch; LinuxMint's default Cinnamon desktop is similar to Windows XP and is simple and easy to use; Ubuntu is a desktop application Mainly Linux operating system.
The above is the detailed content of How to check if the CPU supports 64-bit in Linux. For more information, please follow other related articles on the PHP Chinese website!