Focus on cloud service provider activities
Notes on website operation and maintenance

Three commands for viewing Linux version

When we operate and maintain the server, we sometimes need a specific system image version to install the corresponding software. How do we check the current system version? Here are the commands corresponding to the three methods, which we can select if necessary.

1. Use the lsb_release command:

 lsb_release -a

2. Use the cat command to view the/etc/os release file:

 cat /etc/os-release

3. Use the uname command to display the kernel version:

 uname -r

In this way, we can select one of three commands to check the server version.

Domain name host preferential information push QQ group: six hundred and twenty-seven million seven hundred and seventy-five thousand four hundred and seventy-seven Get preferential promotion from merchants.
Like( zero )
Do not reprint without permission: Lao Zuo's Notes » Three commands for viewing Linux version

Scan the code to follow the official account

Get more news about webmaster circle!
Entrepreneurship, operation and new knowledge