RedHat版本查看

针对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

猜你喜欢

转载自zhengweizhong.iteye.com/blog/1149876