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.
#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:
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:
3. Directly enter [arch] and press Enter to get the corresponding result.
4. Use the "file /lib/systemd/systemd" command to view
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!