linux系统命令版本
㈠ 如何查看linux发行版版本信息
1
输入"uname -a ",可显示电脑以及操作系统的相关信息。
2
输入"cat /proc/version",说明正在运行的内核版本。
3
输入"cat /etc/issue", 显示的是发行版本信息
4
lsb_release -a (适用于所有的linux,包括Redhat、SuSE、Debian等发行版,但是在debian下要安装lsb)
㈡ Linux操作系统版本要怎么查看
Linux操作系统版本要怎么查看
Linux可安装在各种计算机硬件设备中,比如手机、平板电脑、路由器、视频游戏控制台、台式计算机、大型机和超级计算机。下面是我收集Linux操作系统版本,希望大家认真阅读!
1. 查看内核版本命令:
chen@mylinuxserver:~> cat /proc/version
Linux version 2.6.5-7.244-smp (geeko@buildhost) (gcc version 3.3.3 (SuSE Linux)) #1 SMP Mon Dec 12 18:32:25 UTC 2005
/proc 目录的'作用?
chen@mylinuxserver:/proc> uname -a
Linux mylinuxserver 2.6.5-7.244-smp #1 SMP Mon Dec 12 18:32:25 UTC 2005 i686 i686 i386 GNU/Linux
chen@mylinuxserver:/proc> uname -r
2.6.5-7.244-smp
uname命令的作用?
2. 查看Linux版本:
1) 登录到服务器执行 lsb_release -a ,即可列出所有版本信息,例如:
chen@mylinuxserver:/proc> lsb_release -a
LSB Version: core-2.0-noarch:core-3.0-noarch:core-2.0-ia32:core-3.0-ia32:graphics-2.0-ia32:graphics-2.0-noarch:graphics-3.0-ia32:graphics-3.0-noarch
Distributor ID: SUSE LINUX
Description: SUSE LINUX Enterprise Server 9 (i586)
Release: 9
Codename: n/a
注:这个命令适用于所有的linux,包括Redhat、SuSE、Debian等发行版。
2) 登录到linux执行cat /etc/issue,例如如下:
chen@mylinuxserver:/proc> cat /etc/issue
Welcome to SUSE LINUX Enterprise Server 9 (i586) - Kernel (l).
3) 登录到linux执行cat /etc/redhat-release ,例如如下:
chen@mylinuxserver:/proc> cat /etc/*release*
LSB_VERSION="core-2.0-noarch:core-3.0-noarch:core-2.0-ia32:core-3.0-ia32"
cat: /etc/lsb-release.d: 是一个目录
SUSE LINUX Enterprise Server 9 (i586)
VERSION = 9
PATCHLEVEL = 3
;㈢ linux系统查看系统版本命令
一、查看Linux内核版本命令
方法一:cat/proc/version
用法:[root@S-CentOS home]# cat /proc/version
方法二:uname-a
用法:[root@S-CentOS home]# uname-a
二、查看Linux系统版本的命令
方法一:lsb_release -a
用法:[root@S-CentOS ~]# lsb_release -a
注意:使用该命令即可列出所有版本信息,这个命令适用于所有的Linux发行版,包括RedHat、SUSE、Debian等发行版。
方法二:cat /etc/redhat-release
用法:[root@S-CentOS home]# cat /etc/redhat-release
注意:该方法只适合Redhat系的Linux
方法三:cat /etc/issue
用法:[root@S-CentOS home]# cat /etc/issue
注意:该命令也适用于所有的Linux发行版
㈣ 如何查看linux系统的版本号
一、查看Linux内核版本命令(两种方法):
1、cat /proc/version
[root@localhost ~]# cat /proc/version
Linux version 2.6.18-194.8.1.el5.centos.plus ([email protected]) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)) #1 SMP Wed Jul 7 11:50:45 EDT 2010
2、uname -a
[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.18-194.8.1.el5.centos.plus #1 SMP Wed Jul 7 11:50:45 EDT 2010 i686 i686 i386 GNU/Linux
二、查看Linux系统版本的命令(3种方法):
1、lsb_release -a,即可列出所有版本信息:
[root@localhost ~]# lsb_release -a
LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: CentOS
Description: CentOS release 5.5 (Final)
Release: 5.5
Codename: Final
这个命令适用于所有的Linux发行版,包括Redhat、SuSE、Debian…等发行版。
2、cat /etc/redhat-release,这种方法只适合Redhat系的Linux:
[root@localhost ~]# cat /etc/redhat-release
CentOS release 5.5 (Final)
3、cat /etc/issue,此命令也适用于所有的Linux发行版。
[root@localhost ~]# cat /etc/issue
CentOS release 5.5 (Final)
Kernel \r on an \m
㈤ linux如何查看系统版本
1、通常可以点任务栏上的终端软件。
㈥ 如何命令查找linux系统版本,
在windows下我们查看系统信息直接右击电脑属性就可以查看了.那么在Linux系统中如何查看呢.下面给大家介绍几种查看的方式.
工具/原料
Linux
输入"uname -a ",可显示电脑以及操作系统的相关信息。
方法/步骤
㈦ Linux系统文字界面下用什么命令查看其版本
1)
登录到服务器执行
lsb_release
-a
,即可列出所有版本信息,例如:
[[email protected]
~]#
lsb_release
-aLSB
Version:
1.3Distributor
ID:
RedHatEnterpriseASDescription:
Red
Hat
Enterprise
Linux
AS
release
4
(Nahant
Update
1)Release:
4Codename:
NahantUpdate1[[email protected]
~]#
这个命令适用于所有的linux,包括Redhat、SuSE、Debian等发行版。
2)
登录到linux执行cat
/etc/redhat-release
,例如如下:
[[email protected]
~]#
cat
/etc/redhat-release
Red
Hat
Enterprise
Linux
AS
release
4
(Nahant
Update
1)
[[email protected]
~]#
这种方式下可以直接看到具体的版本号,比如
AS4
Update
1
3)登录到linux执行rpm
-q
redhat-release
,例如如下
[[email protected]
~]#
rpm
-q
redhat-releaseredhat-release-4AS-2.4[[email protected]
~]#
这种方式下可看到一个所谓的release号,比如上边的例子是2.4
这个release号和实际的版本之间存在一定的对应关系,如下:
redhat-release-3AS-1
->
Redhat
Enterprise
Linux
AS
3redhat-release-3AS-7.4
->
Redhat
Enterprise
Linux
AS
3
Update
4redhat-release-4AS-2
->
Redhat
Enterprise
Linux
AS
4redhat-release-4AS-2.4
->
Redhat
Enterprise
Linux
AS
4
Update
1redhat-release-4AS-3
->
Redhat
Enterprise
Linux
AS
4
Update
2redhat-release-4AS-4.1
->
Redhat
Enterprise
Linux
AS
4
Update
3redhat-release-4AS-5.5
->
Redhat
Enterprise
Linux
AS
4
Update
4
注意:第(2)(3)两种方法只对Redhat
Linux有效
㈧ 如何用命令查看linux版本
查看内核版本命令:
cat /proc/versionuname -auname -rcat /etc/issueman uname2,查看linux版本:抄录如下:1) 登录到服务器执行 lsb_release -a ,即可列出所有版本信息.命令介绍请点击进入查看