Linux——查看系统版本信息

前言

就是查看系统版本信息咯,我需要查看的只有内核和发行版本~

步骤

  1. 查看内核版本信息
[root@service-nginx-1 ~]# uname -a
Linux scrm-service-nginx-1.novalocal 3.10.0-1062.12.1.el7.x86_64 #1 SMP Tue Feb 4 23:02:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
  1. 查看发行版本信息
[root@service-nginx-1 ~]# cat /etc/centos-release
CentOS Linux release 7.6.1810 (Core)
学无止境,谦卑而行.
原文地址:https://www.cnblogs.com/wangyang0210/p/13544864.html