View version of the Linux operating system and kernel version

This article is for beginners.

Check the operating system version generally three ways:

1, lsb_release -a, applies to all Linux distributions

2, cat / etc / redhat-release, applicable to Redhat

3, cat / etc / issue, apply to all Linux distributions

View the system kernel version there are two ways:

1、cat /proc/version

2、uname -a

Guess you like

Origin blog.csdn.net/haiziccc/article/details/90203967