常用的命令展示 1 2 3 4 5 6 [root@localhost ~]# cat /etc/redhat-release [系统版本] [root@localhost ~]# uname -a [所有信息] [root@localhost ~]# uname -m [硬件信息] [root@localhost ~]# uname -n [主机名称] [root@localhost ~]# uname -r [内核信息] [root@localhost ~]# env [环境变量] 内核信息详解 1 uname –r