1、centos查看系统版本信息

cat /etc/redhat-release
  • 1.

2、ubuntu查看系统版本信息

lsb_release -a
  • 1.

3、debian查看系统版本信息

cat /etc/os-release
  • 1.