How to view the Linux operating system version

Source: Internet
Author: User
How to view the Linux operating system version 1. view the kernel version command: chen @ mylinuxserver :~ & Gt; cat/proc/versionLinuxversion2.6.5-7.244-smp (geeko @ buildhost) (gccversion3.3.3 (SuSELinux) # 1SMPMonDec... how to View Linux OS version 1. run the following command to view the kernel version: chen @ mylinuxserver: ~> Cat/proc/versionLinux version 2.6.5-7.244-smp (geeko @ buildhost) (gcc version 3.3.3 (SuSE Linux) #1 SMP Mon Dec 12 18:32:25 UTC 2005/proc directory? Chen @ mylinuxserver:/proc> uname-aLinux mylinuxserver 2.6.5-7.244-smp #1 SMP Mon Dec 12 18:32:25 UTC 2005 i686 i686 i386 GNU/Linuxchen @ mylinuxserver: /proc> What is the role of the uname-r2.6.5-7.244-smpuname command? 2. view Linux versions: 1) log on to the server and execute lsb_release-a to list all Version information, for example: chen @ mylinuxserver:/proc> lsb_release-aLSB Version: core-2.0-noarch: core-3.0-noarch: core-2.0-ia32: core-3.0-ia32: graphics-2.0-ia32: graphics-2.0-noarch: graphics-3.0-ia32 ID: SUSE LINUXDescription: suse linux Enterprise Server 9 (i586) Release: 9 Codename: n/a note: this command applies to all linux, including Redhat, SuSE, Debian, and other releases. 2) log on to linux and run cat/etc/issue. for example: chen @ mylinuxserver:/proc> cat/etc/issueWelcome to suse linux Enterprise Server 9 (i586) -Kernel \ r (\ l ). 3) log on to linux and execute cat/etc/redhat-release, for example: chen @ mylinuxserver:/proc> cat/etc/* release * LSB_VERSION = "core-2.0-noarch: core-3.0-noarch: core-2.0-ia32: core-3.0-ia32 "cat:/etc/lsb-release.d: is a directory suse linux Enterprise Server 9 (i586) VERSION = 9 PATCHLEVEL = 3
Related Article

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.