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)
posted @ 2020-08-22 11:27  。思索  阅读(220)  评论(0编辑  收藏  举报