Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How many people can view the system on linux?

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly explains "how to check the system on linux". Interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to view the system on linux.

Viewing method: 1, execute the "file / sbin/init" command in the terminal to view; 2, execute the "uname-a" command in the terminal to view; 3, execute the "getconf WORD_BIT" command in the terminal to view.

The operating environment of this tutorial: linux5.9.8 system, Dell G3 computer.

Check how many operating systems linux is.

Method 1:

Terminal input:

File / sbin/init

If shown:

/ sbin/init: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped

That is, if the 32-bit linux; is 64-bit, the display is 64-bit.

Method 2:

Terminal input:

Uname-a

If shown:

Linux redhat-tj 2.6.18-128.el5 # 1 SMP Wed Jan 21 10:44:23 EST 2009 i686 i686 i386 GNU/Linux

It's 32 bits.

Method 3:

Terminal input:

Getconf WORD_BIT

If shown:

thirty-two

It's 32-bit linux.

At this point, I believe you have a deeper understanding of "how to view the system on linux". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report