How to check the system version in Linux?

To check the version of the Linux operating system, you can use the following command:

  1. Use the lsb_release command:
lsb_release -a
  1. View the /etc/os-release file using the cat command.
cat /etc/os-release
  1. Using the uname command:
uname -a

These commands will display version information of the Linux system, including distribution name, version number, kernel version, etc.

bannerAds