作者:用户dvb51bjajs | 来源:互联网 | 2020-08-07 09:50
查看Linux系统版本的命令:1、lsb_release-a,可列出所有版本信息;2、catetcredhat-release,只适合Redhat系的Linux;3、catetcissue,适合所有Linux发行版。
这个命令适用于所有的Linux发行版,包括RedHat、SUSE、Debian…等发行版。
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教程》
以上就是linux版本查看命令的详细内容,更多请关注 第一PHP社区 其它相关文章!