One , see Linux Kernel version command ( The two methods )

1、cat /proc/version

[user@fgejjw7Z home]$ cat /proc/version
Linux version 3.10.-.el7.x86_64 ( (gcc version 4.8. (Red Hat 4.8.-) (GCC) ) # SMP

2、uname -a

[user@fgejjw7Z home]$ uname -a
Linux iZ28fgejjw7Z 3.10.-.el7.x86_64 # SMP Thu Nov :: UTC x86_64 x86_64 x86_64 GNU/Linux
[wcg@iZ28fgejjw7Z home]$

Two 、 see Linux System version command (3 Methods ):

1、lsb_release -a, All version information is listed :

[user@fgejjw7Z home]$ lsb_release -a
LSB Version: :core-4.1-amd64:core-4.1-noarch
Distributor ID: CentOS
Description: CentOS Linux release 7.2. (Core)
Release: 7.2.
Codename: Core

This command applies to all Linux Distribution version , Include Redhat、SuSE、Debian… Etc .

2、cat /etc/redhat-release, This method is only suitable for Redhat Systematic Linux:

[user@fgejjw7Z home]$ cat /etc/redhat-release
CentOS Linux release 7.2. (Core)

3、cat /etc/issue, This command also applies to all Linux Distribution version :

[user@fgejjw7Z home]$ cat /etc/issue
Kernel \r on an \m

Linux command (15) Check out more articles about system version information

  1. linux command : Check the system version

    debian System (1)  lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debia ...

  2. stay Linux Next view system version information command summary

    Every time I want to see how many bits the system is . I can't remember which command to use . So to sum up . vonzhou@de16-C6100:~$ lsb_release -a No LSB modules are availab ...

  3. Debian Next view system version information command summary

    Debian How to view version information , Include digits . Version information and CPU Kernel information .CPU Specific model and so on , Whole CPU The information is clear at a glance . 1.odoo@debian64:~$ uname -a(Debian View the version of the current operation ...

  4. Linux View system version information

    1. View information about the operating system uname -a 2. View the running kernel version information cat /proc/version //uname -r 3. Look at the release number   ( Apply to all linux, Include Redhat. ...

  5. Linux System management command - free - View system memory information

    Detailed command Important stars : ***** Functional specifications : free The command is used to display the state of system memory , Including system physical memory . Virtual memory . Shared memory and system cache, etc . Grammar format : free [option] free [ Options ] say ...

  6. Linux View the system version information

    // Display computer and operating system information uname -a // Running kernel version cat /proc/version // It shows the release information cat /etc/issue // Apply to all lin ...

  7. ubuntu View system version information

    see cpu Information cat /proc/cpiinfo see ubuntu edition :cat /etc/issue The check system is 32 A still 64 Bit method 1:# see long Number of digits , return 32 or 64 getconf LONG_ ...

  8. centos 7 View system version information

    2018-11-06 1. View version number CentOS The version number information of is generally stored in the configuration file , stay CentOS in , There are... In the configuration files related to their version centos keyword , The file is usually stored in /etc/ Under the table of contents , So we ...

  9. Linux command uname: View system and kernel related information

    zh@zh:~$uname --help zh@zh:~$uname -a // All system related information

Random recommendation

  1. Web Good habits for developers

    Web What developers need to develop 8 A good habit Every industry has its own standards and requirements , I'm just a little white who has entered the front-end field , But deeply know , Habits matter , Just Web Let's share , Some good habits to develop . first-class Web Developers work ...

  2. jquery All kinds of hidden animation show the difference

    <!DOCTYPE html> <html> <head lang="en"> <meta charset="utf-8&quo ...

  3. Come and learn together Go --- (go The variable of )

    Variable Variables are the most basic elements in almost all programming languages , Basically , Variable is equivalent to the name of a piece of data storage space , A program can apply for a piece of data storage space by defining a variable , Later, you can use this storage space by referring to the variable name .go Change in language ...

  4. SLAM+ Speech robot DIY series :( Two )ROS introduction ——1.ROS What is it?

    Abstract ROS Robot operating system is very popular in robot application field , Relying on the characteristics of code open source and cooperation between modules , Great convenience for robot developers . Our robots “miiboo” Most of the procedures in ROS Development , So this article focuses on ROS ...

  5. BootstrapTable What's wrong with column sorting

    1.BootstrapTable What's wrong with column sorting . Let's start with one table, Use ajax Look up the data , Then you can add sort to all the columns . Meet your own needs . data-sortable="true&quo ...

  6. 16.ajax_case02

    # Grab Dangdang book reviews # import json import requests from lxml import e ...

  7. python- Data analysis and display (Numpy、matplotlib、pandas)---1

    The notes are organized from mooc Songtian teacher of Beijing University of technology python Series of course data analysis and display , My little white , If there is any wrong , More correction 1.ndarray Object properties .ndim..shape..size( Element number , It's not occupation ...

  8. cmakelist Define string , Replace it in the script .

    cmake_minimum_required(VERSION 2.6 FATAL_ERROR) cmake_policy(VERSION 2.6) # . Project Name project(s ...

  9. java EE :GenericServlet abstract class 、ServletConfig Interface

    ServletConfig  Interface : At present Servlet stay web.xml Related configuration information in package javax.servlet; import java.util.Enumeration; p ...

  10. GZip Compress and decompress

    GZIP Compression and decompression code : public static class CompressionHelper { /// <summary> /// Compress the byte[] / ...