Home  >  Article  >  Operation and Maintenance  >  How to check version information on Linux system?

How to check version information on Linux system?

零下一度
零下一度Original
2017-06-25 10:13:572973browse

1. Enter "uname -a" to display information about the computer and operating system.

$ uname -a
Linux hadoop02.zjl.com 2.6.32-696.el6.x86_64 #1 SMP Tue Mar 21 19:29:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

2. Enter "cat /proc/version" to indicate the running kernel version.

$ cat /proc/version
Linux version 2.6.32-696.el6.x86_64 (mockbuild@c1bm.rdu2.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7 -18) (GCC) ) #1 SMP Tue Mar 21 19:29:05 UTC 2017

3. Enter "cat /etc/issue", the release version information is displayed

$ cat /etc/issue
CentOS release 6.9 (Final)
Kernel \r on an \m

The above is the detailed content of How to check version information on Linux system?. 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