Linux查看系统版本信息

1。查看操作系统相关信息

uname -a         

2。查看正在运行的内核版本信息

cat /proc/version  //uname -r

3。查看发行版本号  (适用于所有的linux,包括Redhat、SuSE、Debian等发行版,没有的话安装即可)

lsb_release -a

4。查看Redhat系的Linux系统版本

cat /etc/redhat-release

  

  

原文地址:https://www.cnblogs.com/peteremperor/p/9415593.html