linux 查看系统版本

shell命令1:
lsb_release -a

适用于所有的linux,包括Redhat、SuSE、Debian等发行版,但是在debian下要安装lsb
[img]

[/img]
命令2:
cat /proc/version
  说明正在运行的内核版本
[img]

[/img]
命令3:
uname -a
可显示电脑以及操作系统的相关信息。
[img]

命令:
cat /etc/os-release




[/img]

猜你喜欢

转载自jiandequn.iteye.com/blog/2366977