Log in to the Linux server and execute the lsb_release-a command to view all version information.
Log in to linux and execute cat /etc/issue (remember to leave a space after cat) to see the version information. The execution effects of the two methods are shown in the figure below:
Log in to Linux and enter cat /proc/version in the terminal.
Log in to Linux and enter uname -a in the terminal to list the Linux kernel version number.
Enter unmae -a in the Linux terminal to view the Linux kernel version number. The execution effects of the three methods are shown in the figure below.
lsb_release -a (applicable to all Linux, including Redhat, SuSE, Debian and other distributions, but lsb must be installed under Debian).
PHP Chinese website has a large number of free Linux introductory tutorials, everyone is welcome to learn!
The above is the detailed content of How to check version in linux. For more information, please follow other related articles on the PHP Chinese website!