Linux查看发行版信息
查看Linux版本信息一般用uname -a,
# uname -a
Linux m.8win.net 2.6.32-504.el6.x86_64 #1 SMP Wed Oct 15 04:27:16 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
但这个只能看到内核版本,我查看到发行版信息则看不到,在RH系的发行版中可以用
# cat /etc/redhat-release
CentOS release 6.6 (Final)
来查看发行版,其实还有一个通用的
# cat /etc/issue
CentOS release 6.6 (Final)
Kernel \r on an \m
/etc/issue是保存登陆前的信息和标识文件。
发表评论
Want to join the discussion?Feel free to contribute!