Linux 下查看操作系统信息

1.uname -a  可显示电脑以及操作系统的相关信息。 

2.输入"cat /proc/version",说明正在运行的内核版本。

3.输入"cat /etc/issue", 显示的是发行版本信息

 

4.lsb_release -a (适用于所有的linux,包括Redhat、SuSE、Debian等发行版,但是在debian下要安装lsb)

5.还可以使用 cat /etc/os-release 或者 cat /etc/redhat-release

原文地址:https://www.cnblogs.com/sucretan2010/p/10805232.html