ZKX's LAB

centos 版本信息 如何查看已安装的CentOS版本信息

2020-10-07知识5

linux - Centos 系统如何查看版本信息

怎么查看centos版本,ceto查看版本可以在系统设置中的详细信息中查看,或者在终端字符界面中使用文本查看命令查看包含系统版本信息的文件。

如何查看centos版本信息,如何查看ceto版本信息 1.如果安装的图形界面方式,可以直接通过系统设置里面的系统信息进行查看 2.如果没有安装图形界面,可以通过命令的方式进行。

如何查看已安装的CentOS版本信息:1)[root@localhost~]#cat/proc/versionLinux version 2.6.18-194.el5(mockbuild@builder10.centos.org)(gcc version 4.1.2 20080704(Red Hat 4.1.2-48))#1 SMP Fri Apr 2 14:58:14 EDT 20102)[root@localhost~]#uname-aLinux localhost.localdomain 2.6.18-194.el5#1 SMP Fri Apr 2 14:58:14 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux3)[root@localhost~]#uname-r2.6.18-194.el52.查看linux版本:1)列出所有版本信息,[root@localhost~]#lsb_release-aLSB Version:core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarchDistributor ID:CentOSDescription:CentOS release 5.5(Final)Release:5.5Codename:Final注:这个命令适用于所有的linux,包括RedHat、SUSE、Debian等发行版。2)执行cat/etc/issue,例如如下:[root@localhost~]#cat/etc/issueCentOS release 5.5(Final)Kernel r on an m3)执行cat/etc/redhat-release,例如如下:[root@localhost~]#cat/etc/redhat-releaseCentOS release 5.5(Final)查看系统是64位还是32位:1、getconf LONG_BIT or 。

如何查看已安装的CentOS版本信息 uname命令用于查看系统内核与系统版本等信息,格式为:“uname[-a]”。一般咱们会固定搭配上-a参数来完整查看当前系统的内核名称、主机名、内核发行版本、节点名、系统时间、硬件名称、硬件平台、处理器类型以及操作系统名称等信息:[root@linuxprobe~]#uname-aLinux linuxprobe.com 3.10.0-123.el7.x86_64 #1 SMP Mon May 5 11:16:57 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux顺便说下,如果您想查看系统详细版本信息就看redhat-release文件:[root@linuxprobe~]#cat/etc/redhat-releaseRed Hat Enterprise Linux Server release 7.0(Maipo)

CentOS是哪个版本 CentOS版本信息查看技巧 方法:1)[root@localhost~]#cat/proc/versionLinux version 2.6.18-194.el5(mockbuild@builder10.centos.org)(gcc version4.1.2 20080704(Red Hat 4.1.2-48))#1 SMP Fri Apr 2 14:58:14 EDT 20102)[root@localhost~]#uname-aLinux localhost.localdomain 2.6.18-194.el5#1 SMP Fri Apr 2 14:58:14 EDT2010 x86_64 x86_64 x86_64 GNU/Linux3)[root@localhost~]#uname-r2.6.18-194.el52.查看linux版本:1)列出所有版本信息,[root@localhost~]#lsb_release-aLSB Version:core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarchDistributor ID:CentOSDescription:CentOS release 5.5(Final)Release:5.5Codename:Final注:这个命令适用于所有的linux,包括RedHat、SUSE、Debian等发行版。2)执行cat/etc/issue,例如如下:[root@localhost~]#cat/etc/issueCentOS release 5.5(Final)Kernel r on an m3)执行cat/etc/redhat-release,例如如下:[root@localhost~]#cat/etc/redhat-releaseCentOS release 5.5(Final)查看系统是64位还是32位:1、getconf 。

如何查看已安装的CentOS版本信息 使用root权限登陆连接ssh,然后输入cat/etc/issue命令,回车就能看到当前用的centos版本。

如何查看已安装的CentOS版本信息 其实有很多的只和你说最常用和最简单的,命令如下[root@spiro~]#cat/etc/issueCentOS release 6.8(Final)Kernel \\r on an \\m[root@spiro~]#cat/proc/versionLinux version 2.6.32-642.el6.i686(mockbuild@worker1.bsys.centos.org)(gcc version 4.4.7 20120313(Red Hat 4.4.7-17)(GCC))#1 SMP Tue May 10 16:13:51 UTC 2016[root@spiro~]#uname-aLinux spiro 2.6.32-642.el6.i686#1 SMP Tue May 10 16:13:51 UTC 2016 i686 i686 i386 GNU/Linux[root@spiro~]#uname-r2.6.32-642.el6.i686

#redhat#etc#root权限#cat#centos

随机阅读

qrcode
访问手机版