---
title: "查看Linux版本信息"
author: "samjavaeye"
date: "2011-12-13T14:26:51Z"
tags: []
categories: ["操作系统"]
slug: "linux"
draft: false
lastmod: "2014-03-17T10:59:07Z"
id: 1308617
url: "https://samjavaeye.iteye.com/blog/1308617"
---

\[root@vm\_linux\_jre ~]# ***lsb\_release -a***

LSB Version:    :core-4.0-ia32:core-4.0-noarch:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-ia32:printing-4.0-noarch

Distributor ID: RedHatEnterpriseServer

Description:    Red Hat Enterprise Linux Server release 5.6 (Tikanga)

Release:        5.6

Codename:       Tikanga

 

\[root@vm\_linux\_jre ~]# ***uname -a***

Linux vm\_linux\_jre 2.6.18-238.el5 #1 SMP Sun Dec 19 14:24:47 EST 2010 i686 i686 i386 GNU/Linux

 

\[root@vm\_linux\_jre ~]# ***cat /etc/issue***

Red Hat Enterprise Linux Server release 5.6 (Tikanga)

Kernel \\r on an \\m

 

对于红帽子linux，还可以使用下面命令：

\[root@SonarServer1 user0]# *cat /etc/redhat-release*

 Red Hat Enterprise Linux Server release 6.3 (Santiago)