A few simple ways to view the Redhat Linux version __linux

Source: Internet
Author: User

It's easy to log on to a running Redhat Linux server to see its version of the system, and here's a few of my own common methods.
Method One:
View Redhat-release Files
[Root@server ~]# Cat/etc/redhat-release
Red Hat Enterprise Linux as Release 4 (Nahant Update 8)

Method Two:
View issue Files
[Root@server ~]# Cat/etc/issue
Red Hat Enterprise Linux as Release 4 (Nahant Update 8)
KERNEL/R on an/m

Method Three:
Using the Lsb_release command
[Root@server ~]# Lsb_release-a
LSB Version:: Core-3.0-ia32:core-3.0-noarch:graphics-3.0-ia32:graphics-3.0-noarch
Distributor Id:redhatenterpriseas
description:red Hat Enterprise Linux as Release 4 (Nahant Update 8)
Release:4
Codename:nahantupdate8

The above is my three commonly used to view the system version of the method, if you have a better way, please let me know.

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.