CentOS查看内核版本,位数,版本号

1)[[email protected] ~]# cat /proc/version

Linux version 2.6.18-194.el5 ([email protected]) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)) #1 SMP Fri Apr 2 14:58:14 EDT 2010

2)

[[email protected] ~]# uname -a

Linux localhost.localdomain 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:14 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

3)

[[email protected] ~]# uname -r

2.6.18-194.el5

2. 查看linux版本:

1) 列出所有版本信息,

[[email protected] ~]# lsb_release -a

LSB Version: :core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64: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/issue,例如如下:

[[email protected] ~]# cat /etc/issue

CentOS release 5.5 (Final)

Kernel r on an m

3) 执行cat /etc/redhat-release ,例如如下:

[[email protected] ~]# cat /etc/redhat-release

CentOS release 5.5 (Final)

查看系统是64位还是32位:

1、getconf LONG_BIT or getconf WORD_BIT

[[email protected] ~]# getconf LONG_BIT

64

2、file /bin/ls

[[email protected] ~]# file /bin/ls

/bin/ls: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped

3、lsb_release -a

[[email protected] ~]# lsb_release -a

LSB Version: :core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarch

Distributor ID: CentOS

Description: CentOS release 5.5 (Final)

Release: 5.5

Codename: Final

时间: 2024-08-28 05:29:46

CentOS查看内核版本,位数,版本号的相关文章

CentOS查看内核版本、系统版本、系统位数

CentOS查看内核版本.系统版本.系统位数 查看Linux内核版本 [[email protected] ~]# cat /proc/version    Linux version 2.6.32-358.el6.x86_64 ([email protected]) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC) ) #1 SMP Fri Feb 22 00:31:26 UTC 2013     [[email protected] ~]

linux CentOS查看内核版本和系统版本

查看内核版本 使用uname命令 uname:Print certain system information [[email protected] ~]# uname -r2.6.32-431.el6.i686 查看/proc/version [[email protected] ~]# cat /proc/version Linux version 2.6.32-431.el6.i686 ([email protected]) (gcc version 4.4.7 20120313 (Red

Ubuntu12.04 查看内核版本以及系统位数

查看内核的几种方法: 1. uname -a   #显示详细的内核信息, Linux localhost.localdomain 2.6.18-92.1.6.el5xen #1 SMP Wed Jun 25 12:56:52 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux 2. cat /etc/issue   #显示版本类型 Scientific Linux SL release 5.2 (Boron)Kernel \r on an \m 3. cat /pro

查询centos查看系统内核版本,系统版本,32位还是64位

[[email protected] ~]# lsb_release -a           #查看centos 版本为6.4LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarchDistributor ID: CentOSDescription

在linux下查看内核版本、gcc版本、操作系统多少位等参数

1. 查看linux版本 cat /etc/issue Ubuntu 11.04 \n \l 2. 查看内核版本 1)cat /proc/version Linux version 2.6.38-13-generic ([email protected]) (gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4) ) #57-Ubuntu SMP Mon Mar 5 18:10:14 UTC 2012 2) uname命令 uname -a Linux

Ubuntu 中查看内核版本和系统版本的三个命令

一.查看内核版本:cat /proc/version 二.查看内核版本:uname -a 三.查看系统版本:lsb_release -a

查看内核版本

查看内核版本信息: cat /etc/lsb-release uname -a ———————————————————————————————— [email protected]:/work/jz2440/kernel/linux-2.6.22.6# uname -aLinux ubuntu 2.6.35-22-generic #33-Ubuntu SMP Sun Sep 19 20:34:50 UTC 2010 i686 GNU/Linux —————————————————————————

linux下利用adb连接Android模拟器查看内核版本、cpu体系架构版本、删除密码锁

在前面的两篇文章中,讲述了编译android源码和内核源码,此篇文章建立在之前的基础上,不清楚的请先转战: 源码编译 内核编译 --------------------------------------------------------------------------------------------- 在使用了下面的命令启动了模拟器之后: export PATH=$PATH:/usr/local/Android/Android2.3.7/out/host/linux-x86/bin

查看centos的内核版本,位数,版本号等信息

忽然间想看看自己系统是什么版本的,却忘了命令,哈哈.索性整理了一下. [[email protected] ~]# cat /etc/redhat-release                                      #查看系统的版本CentOS Linux release 7.2.1511 (Core) 系统 #uname -a                     #查看内核/操作系统/CPU信息 #head -n 1 /etc/issue      #查看操作系统版本