xshell或者putty敲命令:

cat /etc/issue

在CentOS下执行显示为:
CentOS release 5.7 (Final)
Kernel \r on an \m

或在Ubuntu下显示为:
Ubuntu 11.04 \n \l

标签: none

添加新评论