How to view Linux versions

Source: Internet
Author: User

One view Linux kernel version

1) cat/proc/version

[Email protected]:~$ cat/proc/version
Linux version 3.16.0-23-generic ([email protected]) (GCC version 4.9.1 (Ubuntu 4.9.1-16ubuntu6)) #31-ubuntu SMP Tue Oct 2 1 18:00:35 UTC 2014

2) uname-a

[Email protected]:~$ uname-a
Linux ubuntu 3.16.0-23-generic #31-ubuntu SMP Tue Oct 18:00:35 UTC i686 i686 i686 gnu/linux

3) Uname-r

[Email protected]:~$ uname-r
3.16.0-23-generic

Two view Linux versions

1) lsb_release-a

[Email protected]:~$ lsb_release-a
No LSB modules is available.
Distributor Id:ubuntu
Description:ubuntu 14.10
release:14.10
Codename:utopic

Note: The Lsb_release-a command applies to all Linux systems, including Redhat, SuSE, Debian, and other distributions.

2) Cat/etc/issue

[Email protected]:~$ cat/etc/issue
Ubuntu 14.10 \ \l

Resources

http://blog.csdn.net/zhuying_linux/article/details/6859286

Http://jingyan.baidu.com/article/ff4116259b127c12e48237a1.html

How to view Linux versions

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.