[root@host-172-20-105-194 ~]# cat /proc/version
Linux version 4.19.90-24.4.v2101.ky10.aarch64 ([email protected]) (gcc version 7.3.0 (GCC)) #1 SMP Mon May 24 14:45:37 CST 2021
[root@shijuezhongshu-ceshi-yingyong-dameng ~]# cat /proc/version
Linux version 3.10.0-1160.el7.x86_64 ([email protected]) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) ) #1 SMP Mon Oct 19 16:18:59 UTC 2020
[root@shijuezhongshu-ceshi-yingyong-dameng ~]# cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
linux查看版本命令的方法是:
1、# uname -a (Linux查看版本当前操作系统内核信息)
2、# cat /proc/version (Linux查看当前操作系统版本信息)
3、# cat /etc/issue 或 cat /etc/redhat-release (Linux查看版本当前操作系统发行版信息)
4、# cat /proc/cpuinfo (Linux查看cpu相关信息,包括型号、主频、内核信息等)
5、# getconf LONG_BIT (Linux查看版本多少位)
6、# lsb_release -a (CentOS 6.9版本需要安装lsb,CentOS 7.0以上直接可以使用,网上都说Linux都支持,我只验证过CentOS系统)
标签:查看,版本信息,cat,version,版本,Linux,proc From: https://www.cnblogs.com/tonggc1668/p/17875057.html