终端代码命令:
Welcome to Alibaba Cloud Elastic Compute Service !
[root@lpz ~]#
[root@lpz ~]#
[root@lpz ~]#
[root@lpz ~]# cat /etc/redhat-release
CentOS Linux release 7.4.1708 (Core)
[root@lpz ~]#
[root@lpz ~]#
[root@lpz ~]# more /proc/version
Linux version 3.10.0-693.2.2.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-16) (GCC) ) #1 SMP Tue Sep 12 22:
26:13 UTC 2017
[root@lpz ~]#
1.查看操作系统
cat /etc/redhat-release
2.查看服务器位数
more /proc/version