方法:
> cat /etc/issue Fedora release 17 (Beefy Miracle) Kernel \r on an \m (\l)
其它相关命令:
1.用户查询系统内核版本,主机名,域名等
> uname -a Linux local.localhost 3.4.4-3.fc17.i686 #1 SMP Tue Jun 26 21:32:03 UTC 2012 i686 i686 i386 GNU/Linux
2.与1类似的功能
> sysctl -a | grep os …… kernel.hostname = local.localhost kernel.osrelease = 3.4.4-3.fc17.i686 kernel.ostype = Linux ……