Home >Operation and Maintenance >Linux Operation and Maintenance >How to check system version information in linux

How to check system version information in linux

(*-*)浩
(*-*)浩Original
2019-11-04 10:43:4220274browse

Today I will tell you several ways to check the version information of Linux system, raksmart server.

How to check system version information in linux

1. Check the Linux kernel version command (two methods):

1. cat / proc/version (Recommended learning: linux operation and maintenance)

How to check system version information in linux

##2. uname -a

How to check system version information in linux

2. Command to check the Linux system version (3 methods):

1, lsb_release -a, that’s it List all version information:

How to check system version information in linux

This command applies to all Linux distributions, including RedHat, SUSE, Debian... and other distributions.

2. cat /etc/redhat-release. This method is only suitable for Redhat-based Linux:

[root@S-CentOS home]# cat /etc/redhat-release
CentOS release 6.5 (Final)

3. cat /etc/issue, This command also works on all Linux distributions.

How to check system version information in linux

The above is the detailed content of How to check system version information in linux. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:What file is linuxNext article:What file is linux