针对Red Hat Linux查看Linux版本有效的方法:
1. cat /etc/redhat-release
2. rpm –q redhat-release
查看Linux版本可以使用的命令:
1. lsb_release –a
2. cat /etc/issue
查看内核版本可以使用的命令:
1. cat /proc/version
2. uname –a
3. uname –r
1. cat /etc/redhat-release
2. rpm –q redhat-release
查看Linux版本可以使用的命令:
1. lsb_release –a
2. cat /etc/issue
查看内核版本可以使用的命令:
1. cat /proc/version
2. uname –a
3. uname –r