标签:
在 Linux 中,有多种方法可以查看系统的版本信息。
huey@huey-K42JE:~$ uname -a Linux huey-K42JE 3.5.0-43-generic #66~precise1-Ubuntu SMP Thu Oct 24 14:55:08 UTC 2013 i686 i686 i386 GNU/Linux
huey@huey-K42JE:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04.3 LTS Release: 12.04 Codename: precise
huey@huey-K42JE:~$ cat /proc/version Linux version 3.5.0-43-generic (buildd@akateko) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #66~precise1-Ubuntu SMP Thu Oct 24 14:55:08 UTC 2013
huey@huey-K42JE:~$ cat /etc/issue Ubuntu 12.04.3 LTS \n \l
标签:
原文地址:http://www.cnblogs.com/huey/p/4335403.html