uname -r 显示操作系统的发行版号 uname -a 显示零碎名、节点名称、操作系统的发行版号、内核版本等等 centOScat /etc/redhat-releasecat /etc/os-release cat /proc/versionubuntucat /etc/issuesudo lsb_release -a