Linux:如何查看 Linux 版本号
$ uname -a
$ cat /etc/issue
$ lsb_release -a
$ cat /etc/os-release
$ cat /etc/redhat-release
$ cat /proc/version
example:
[[email protected] ~]# cat /etc/redhat-release
CentOS Linux release 7.2.1511 (Core)
$ uname -a
$ cat /etc/issue
$ lsb_release -a
$ cat /etc/os-release
$ cat /etc/redhat-release
$ cat /proc/version
example:
[[email protected] ~]# cat /etc/redhat-release
CentOS Linux release 7.2.1511 (Core)