View the version of the Linux system to see the number of bits on the Linux system

Source: Internet
Author: User

    1. Method 1

      For Linux systems, there are hundreds of distributions. For release version number View method

      Take CentOS for example. Input lsb_release-a can be

      This command applies to all Linux, including Redhat, SuSE, Debian, and other distributions

    2. 2

      Method 2

      If, for example, this command is not

      You can view Cat/etc/xxx-release xx as the release name. such as centos-release

    3. 3

      Method 3.

      You can also view the release version number by viewing the /etc/issue file

      END

Viewing the system kernel version
    1. 1

      For different distributions, many versions of the kernel are the same. Specific viewing methods

      Method 1

      Uname-r viewing the System kernel version

      As 2.6.32-358.el6.x86_64 indicates that the latest kernel is 2.6.32

    2. 2

      Method 2

      By looking at the kernel version number file, such as More/proc/version

      END

Other Operating System Information
    1. 1

      View the number of system bits

      Also for Linux systems there are 32 and 64-bit points

      Using the above view kernel method, enter

      Uname-a or More/proc/version

      There's a x86_64 behind the kernel version that means 64 is the system.

    2. 2

      Yum Update version Query

      In addition, for systems that use the Yum update, you can also view the system version number that is currently being updated by entering yum info . As the latest 3.e16

      END

Precautions
    • This experience takes CentOS as an example, and Redhat is the same. Other Debian may be different, refer to the relevant instructions

View the version of the Linux system to see the number of bits on the Linux system

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.