Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to check the linux version, kernel version, system digits and gcc version under Ubuntu16.10

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article will explain in detail how to view the Linux version and kernel version and the number of system bits and gcc version under Ubuntu 16.10. The quality of the article is high, so Xiaobian shares it with you as a reference. I hope you have a certain understanding of related knowledge after reading this article.

Linux version, kernel version, system bit number, gcc version under Ubuntu

1. Check out the Linux version

leblancs@leblancs-virtual-machine:~$ cat /etc/issueUbuntu 16.10 \n \lleblancs@leblancs-virtual-machine:~$

2. View kernel version

1)

leblancs@leblancs-virtual-machine:~$ cat /proc/versionLinux 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 2016leblancs@leblancs-virtual-machine:~$

2)uname command

leblancs@leblancs-virtual-machine:~$ uname -aLinux 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/Linuxleblancs@leblancs-virtual-machine:~$

3)

leblancs@leblancs-virtual-machine:~$ uname --helpUsage: 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 exitGNU coreutils online help: Full documentation at: or available locally via: info '(coreutils) uname invocation'leblancs@leblancs-virtual-machine:~$

3. View system digits

1)

leblancs@leblancs-virtual-machine:~$ getconf WORD_BIT32leblancs@leblancs-virtual-machine:~$ getconf LONG_BIT64leblancs@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, strippedleblancs@leblancs-virtual-machine:~$

4. View GCC Version

leblancs@leblancs-virtual-machine:~$ gcc --versiongcc (Ubuntu 6.2.0-5ubuntu12) 6.2.0 20161005Copyright (C) 2016 Free Software Foundation, Inc.This is free software; see the source for copying conditions. There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.leblancs@leblancs-virtual-machine:~$About Ubuntu 16.10 under how to view the linux version and kernel version as well as the number of system bits and gcc version to share here, I hope the above content can be of some help to everyone, you can learn more knowledge. If you think the article is good, you can share it so that more people can see it.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report