这篇文章将为大家详细讲解有关Ubuntu16.10下如何查看linux版本与内核版本还有系统位数和gcc版本,文章内容质量较高,因此小编分享给大家做个参考,希望大家阅读完这篇文章后对相关知识有一定的了解。
成都创新互联于2013年成立,是专业互联网技术服务公司,拥有项目成都网站建设、网站设计网站策划,项目实施与项目整合能力。我们以让每一个梦想脱颖而出为使命,1280元桃山做网站,已为上家服务,为桃山各地企业和个人服务,联系电话:13518219792
1. 查看linux版本
leblancs@leblancs-virtual-machine:~$ cat /etc/issue Ubuntu 16.10 \n \l leblancs@leblancs-virtual-machine:~$
2. 查看内核版本
1)
leblancs@leblancs-virtual-machine:~$ cat /proc/version Linux version 4.8.0-28-generic (buildd@lgw01-16) (gcc version 6.2.0 20161005 (Ubuntu 6.2.0-5ubuntu12) ) #30-Ubuntu SMP Fri Nov 11 14:03:52 UTC 2016 leblancs@leblancs-virtual-machine:~$
2) uname命令
leblancs@leblancs-virtual-machine:~$ uname -a Linux leblancs-virtual-machine 4.8.0-28-generic #30-Ubuntu SMP Fri Nov 11 14:03:52 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux leblancs@leblancs-virtual-machine:~$
3)
leblancs@leblancs-virtual-machine:~$ uname --help Usage: uname [OPTION]... Print certain system information. With no OPTION, same as -s. -a, --all print all information, in the following order, except omit -p and -i if unknown: -s, --kernel-name print the kernel name -n, --nodename print the network node hostname -r, --kernel-release print the kernel release -v, --kernel-version print the kernel version -m, --machine print the machine hardware name -p, --processor print the processor type (non-portable) -i, --hardware-platform print the hardware platform (non-portable) -o, --operating-system print the operating system --help display this help and exit --version output version information and exit GNU coreutils online help: <http://www.gnu.org/software/coreutils/> Full documentation at: <http://www.gnu.org/software/coreutils/uname> or available locally via: info '(coreutils) uname invocation' leblancs@leblancs-virtual-machine:~$
3.查看系统位数
1)
leblancs@leblancs-virtual-machine:~$ getconf WORD_BIT 32 leblancs@leblancs-virtual-machine:~$ getconf LONG_BIT 64 leblancs@leblancs-virtual-machine:~$
2)
leblancs@leblancs-virtual-machine:~$ file /bin/bash /bin/bash: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=6587b60b0a57e1a0f83f7523a658e0bf329fdb5f, stripped leblancs@leblancs-virtual-machine:~$
4. 查看gcc版本
leblancs@leblancs-virtual-machine:~$ gcc --version gcc (Ubuntu 6.2.0-5ubuntu12) 6.2.0 20161005 Copyright (C) 2016 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. leblancs@leblancs-virtual-machine:~$
关于Ubuntu16.10下如何查看linux版本与内核版本还有系统位数和gcc版本就分享到这里了,希望以上内容可以对大家有一定的帮助,可以学到更多知识。如果觉得文章不错,可以把它分享出去让更多的人看到。
当前文章:Ubuntu16.10下如何查看linux版本与内核版本还有系统位数和gcc版本
本文地址:https://www.cdcxhl.com/article2/jcdcic.html
成都网站建设公司_创新互联,为您提供外贸网站建设、电子商务、域名注册、网站改版、云服务器、虚拟主机
声明:本网站发布的内容(图片、视频和文字)以用户投稿、用户转载内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-86922220;邮箱:631063699@qq.com。内容未经允许不得转载,或转载时需注明来源: 创新互联