How to view the linux version _ Linux check whether the system is 64-bit or 32-bit

Source: Internet
Author: User
In windows, right-click the system information and choose computer properties to view the information. In Linux, how can we view the information? The following describes how to view the information.

We often need to know what the system is, whether it is 32-bit or 64-bit, when buying Linux vps installation software, in windows, right-click system information and choose computer properties to view the information. in Linux, how does one view the data. the following describes several ways to view data.
1. getconf LONG_BIT or getconf WORD_BIT

For example:

 

2. file/bin/ls

For example:

View the linux version:


3. Enter "uname-a" to display information about your computer and operating system.

4. Enter "cat/proc/version" to describe the running kernel version.

5. Enter "cat/etc/issue" to display the release version information.

6. lsb_release-a (applicable to all linux releases, including Redhat, SuSE, and Debian, but lsb must be installed in debian)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.