Home > Operation and Maintenance > Linux Operation and Maintenance > How to check how many bits a machine has in Linux

How to check how many bits a machine has in Linux

angryTom
Release: 2020-03-11 11:26:50
Original
2595 people have browsed it

How to check how many bits a machine has in Linux

How to check how many bits a machine has in Linux

1. Execute the uname -a command

How to check how many bits a machine has in Linux

The presence of i686 (sometimes i386) in the results indicates that the operating system is 32-bit, but if x86_64 is displayed, it indicates that the operating system is 64-bit.

Recommended study: "Linux Video Tutorial"

2. Run the uname -m command

How to check how many bits a machine has in Linux

The output shows x86_64, which means the system is 64-bit

3. Use the file command

file /lib/systemd/systemd
Copy after login

How to check how many bits a machine has in Linux

It means this is a 64-bit operating system. If it is displayed as 32-bit, it means the operating system is 32-bit

4. Use the arch command

How to check how many bits a machine has in Linux

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

5. Through system settings

How to check how many bits a machine has in Linux

For more Linux related tutorials, please pay attention to PHP Chinese website!

The above is the detailed content of How to check how many bits a machine has in Linux. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
Ketahui asas Linux
From 1970-01-01 08:00:00
0
0
0
centos7 - Versi linux git bukan centos?
From 1970-01-01 08:00:00
0
0
0
Lernen Sie die Grundlagen von Linux
From 1970-01-01 08:00:00
0
0
0
centos7 - The linux version of git is not centos?
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template