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.
Scan the code to follow the official account
Get more news about webmaster circle!
Entrepreneurship, operation and new knowledge