Home  >  Article  >  Operation and Maintenance  >  How to check linux version

How to check linux version

王林
王林Original
2019-11-04 14:18:055695browse

How to check linux version

1. Linux View the current operating system kernel information

# uname -a
Linux localhost.localdomain 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 athlon i386 GNU/Linux

2. Linux View the current operating system version information

# cat /proc/version
Linux version 2.4.20-8 (bhcompile@porky.devel.redhat.com)
(gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Thu Mar 13 17:54:28 EST 2003

3. Linux view version current operating system release information

# cat /etc/issue  
# cat /etc/redhat-release
Red Hat Linux release 9 (Shrike)

Recommended tutorial: linux tutorial

The above is the detailed content of How to check linux version. 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