系统版本:
$ head -n 1 /etc/issue Fedora release 20 (Heisenbug)
或者
$ cat /etc/issue
系统位数:
$ getconf LONG_BIT
64
内核信息:
$ cat /proc/version Linux version 3.11.10-301.fc20.x86_64 (mockbuild@bkernel01.phx2.fedoraproject.org) (gcc version 4.8.2 20131017 (Red Hat 4.8.2-1) (GCC) ) #1 SMP Thu Dec 5 14:01:17 UTC 2013
原文:http://www.cnblogs.com/wjshan0808/p/4109292.html