How to check the version of a Linux system?

To check the version number of a Linux system, you can use one of the following commands:

  1. Display information about the Linux distribution in use.
lsb_release -a
  1. Display the contents of the file “os-release” located in the directory “etc”.
cat /etc/os-release
  1. Please provide the system information with the ‘uname -a’ command.
uname -a

The above command will display detailed information such as the version number, distribution information, and kernel version of the Linux system.

Leave a Reply 0

Your email address will not be published. Required fields are marked *


广告
Closing in 10 seconds
bannerAds