Check if your Linux System is 32 or 64 Bit?

28/12/2020
Chưa phân loại

In this post, we will quickly see how we can check if our Linux based system is either 32-bit or 64-bit. Although, most computers today can run 64 bit Operating systems, an interesting thing to note is, a 64-bit system can also run a 32-bit operating system. We can discuss what version is more recommended once we get to know how check our version.

Option One: The lscpu Command

We can run a simple command to check detailed information about our Linux machine. Run following command:

lscpu

Once we run this, we can see following information about our machine:

On the first line, the ‘Architecture’ tells us kind of CPU we have. As shown, we have a x86_64 type of CPU which signifies a 64-bit system. i686 signifies a 32-bit system.

Let’s try another option.

Option Two: Using the Graphical Interface

This is of course an easier option when it comes to avoiding commands. I will show you on Ubuntu LTS 16.04, but similar Graphical Intefaces exist on other distributions.  Let’s click the gear icon on top-right corner to open a menu and move forward:

Now, click on details next:

Finally, we can our system details here:

This is very clear metadata about our system. But this option has limitations as the data presented here is very much limited as compared to the first option we looked at.

32-bit vs 64-bit OS

Briefly, 32-bit distributions are preferred when you are running 32-bit systems. However, 64-bit processors are preferred as they are backwards-compatible and can run 32-bit software. This also means that we can use 32-bit Operating systems on a 64-bit machines.

ONET IDC thành lập vào năm 2012, là công ty chuyên nghiệp tại Việt Nam trong lĩnh vực cung cấp dịch vụ Hosting, VPS, máy chủ vật lý, dịch vụ Firewall Anti DDoS, SSL… Với 10 năm xây dựng và phát triển, ứng dụng nhiều công nghệ hiện đại, ONET IDC đã giúp hàng ngàn khách hàng tin tưởng lựa chọn, mang lại sự ổn định tuyệt đối cho website của khách hàng để thúc đẩy việc kinh doanh đạt được hiệu quả và thành công.
Bài viết liên quan

Hướng dẫn fix lỗi: Name or service not know trên Linux centos 7 centos 8

Chỉnh sang sử dụng DNS của Google chúng ta sử dụng các lệnh sau: sudo sh -c "echo nameserver 8.8.8.8 >...
30/08/2021

Hướng dẫn cấu hình Rclone kết nối qua tài khoản FTP

Ở bài trước, chúng ta đã cài tìm hiểu cách cấu hình rclone kết nối với Google Drive. Bài viết...
30/12/2020

How to Return a String from Bash Functions

Use of BASH function that returns a value Bash Functions can’t return values like other standard programming languages....
28/12/2020
Bài Viết

Bài Viết Mới Cập Nhật

Hướng dẫn fake ip bằng phần mềm SStap
10/06/2025

VPS treo game là gì? Thuê VPS treo game giá rẻ, không lo giật lag
02/06/2025

 BitBrowser – Best Anti-Detect Browser!
26/05/2025

Dịch Vụ Xây Dựng Hệ Thống Peering Với Internet Exchange (IXP)
04/04/2025

Dịch Vụ Triển Khai VPN Site-to-Site & Remote Access
04/04/2025