[root@Centos2 ~]# cat /etc/redhat-release
CentOS release 6.4 (Final)
[root@Centos2 ~]# cat /etc/*release
CentOS release 6.4 (Final)
LSB_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-noarch
CentOS release 6.4 (Final)
CentOS release 6.4 (Final)
[root@Centos2 ~]# ls /etc/*release
/etc/centos-release /etc/lsb-release /etc/redhat-release /etc/system-release
[root@Centos2 ~]#
3.3 RedHat Linux
复制代码代码如下:
[root@getlnx05 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.7 (Tikanga)
[root@getlnx05 ~]# cat /etc/*release
Red Hat Enterprise Linux Server release 5.7 (Tikanga)
[root@getlnx05 ~]# ls /etc/*release
/etc/redhat-release
[root@getlnx05 ~]#
4 rpm -q redhat-release命令查看,只适用于Redhat Linux
复制代码代码如下:
[root@getlnx05 ~]# rpm -q redhat-release
【Linux操作系统查看系统信息命令】redhat-release-5Server-5.7.0.3
- 查看cpu温度的软件和方法
- 小米手机怎么查看手机序列号IMEI
- 电脑的显示器型号怎么查看
- 华为手机查看wifi连接速度的方法
- linux的scp命令
- Linux中rm与rmdir删除命令的用法详解
- win7系统如何使用cmd命令开启wifi并查看已连接用户
- 电脑版微信查看朋友圈的方法教程
- linux拷贝文件夹命令
- 在双系统下如何卸载Win8系统