Linux view version command

  
 

There are many versions of Linux. Sometimes, we need to get the version information of linux. The following common commands are respectively viewed: linux kernel version and release version. I often can't remember it. Be a memo here. _^


How to view the Linux kernel version: 1.cat /proc/version View the information in memory directly 2.uname -a View all information 3.uname -r Only the version number

How to view the release version: 1.lsb_release -a List all version information, this command applies to all linux2.cat /etc/redhat-release View reahat version information 3.rpm -q redhat-release Function Same as < Br>

Copyright © Windows knowledge All Rights Reserved