作者:ik人生如梦场 | 来源:互联网 | 2020-08-15 12:56
linux查看系统的命令:lsb_release-a,即可列出所有版本信息,这个命令适用于所有的Linux发行版。catetcredhat-release,这种方法只适合Redhat系的Linux。
2、cat /etc/redhat-release,这种方法只适合Redhat系的Linux:
[root@S-CentOS home]# cat /etc/redhat-release
CentOS release 6.5 (Final)
3、cat /etc/issue,此命令也适用于所有的Linux发行版。
以上就是linux怎么查看系统版本的详细内容,更多请关注 第一PHP社区 其它相关文章!