1/ cat /etc/os-release
2/ cat /proc/version (内核)
3/ more /etc/issue
4/ lsb_release -a
5/ cat /etc/redhat-release (部分可用)
6/ cat /etc/*release
7/ rpm -q redhat-release
8/ uname -a (内核)
1/ cat /etc/os-release
2/ cat /proc/version (内核)
3/ more /etc/issue
4/ lsb_release -a
5/ cat /etc/redhat-release (部分可用)
6/ cat /etc/*release
7/ rpm -q redhat-release
8/ uname -a (内核)