本文摘自PHP中文网,作者V,侵删。

1、使用lsb_release -a命令查看
1 2 3 4 5 6 7 8 9 | [root@sky9896sky]# lsb_release -a
bash:lsb_release: command not found
[root@sky9896sky]#yum install lsb ?Cy
[root@sky9896sky]# lsb_release -a
LSBVersion: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-noarch
DistributorID: CentOS
Description: CentOS release 6.7 (Final)
Release: 6.7
Codename: Final
|
2、使用cat /etc/redhat-release命令查看
1 2 | [root@sky9896 sky]# cat /etc/redhat-release
CentOSrelease 6.7 (Final)
|
推荐教程:centos教程
以上就是centos如何查看版本号的详细内容,更多文章请关注木庄网络博客!
相关阅读 >>
CentOS查看ip地址命令是什么
怎么卸载CentOS已安装的软件
如何查看CentOS版本信息
详解CentOS和ubuntu的区别
CentOS怎么卸载软件
CentOS下找不到网卡怎么办
CentOS系统执行make命令提示错误怎么办
CentOS mysql安装配置
CentOS怎么赋予普通用户root权限
CentOS怎么安装wget
更多相关阅读请进入《CentOS》频道 >>
转载请注明出处:木庄网络博客 » centos如何查看版本号