---
title: "Linux 查看版本"
author: "qson"
date: "2014-01-03T22:48:22Z"
tags: []
categories: ["操作系统"]
slug: "linux"
draft: false
lastmod: "2014-01-03T22:48:22Z"
id: 1998881
url: "https://qson.iteye.com/blog/1998881"
---

$ > cat /etc/issue
Ubuntu 12.04.1 LTS \n \l

$ > cat /proc/version
Linux version 3.2.0-32-generic-pae (buildd@roseapple) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #51-Ubuntu SMP Wed Sep 26 21:54:23 UTC 2012

$ > uname -a
Linux PC3GD000752 3.2.0-32-generic-pae #51-Ubuntu SMP Wed Sep 26 21:54:23 UTC 2012 i686 i686 i386 GNU/Linux

$ > lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 12.04.1 LTS
Release:	12.04
Codename:	precise

$ > cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.1 LTS"