How to check linux version

王林
Release: 2019-11-04 14:18:05
Original
5846 people have browsed it

How to check linux version

1. Linux View the current operating system kernel information

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

2. Linux View the current operating system version information

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

3. Linux view version current operating system release information

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

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!

Related labels:
Statement of this Website
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
Latest Issues
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template