Linux系统版本如何查询?
- 内容介绍
- 文章标签
- 相关推荐
本文共计133个文字,预计阅读时间需要1分钟。
AI代码自动生成器,助力快速编程。
1、lsb_release -a,即可列出所有版本信息: (推荐学习: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发行版。
本文共计133个文字,预计阅读时间需要1分钟。
AI代码自动生成器,助力快速编程。
1、lsb_release -a,即可列出所有版本信息: (推荐学习: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发行版。

