您可以使用以下命令查看 Linux 系统版本:
lsb_release -a:显示 Linux Standard Base (LSB) 版本信息。
uname -a:显示内核版本和系统架构。
cat /etc/issue:显示操作系统版本和发行版本。
cat /etc/os-release:显示操作系统名称、版本、ID 和变体。
hostnamectl:显示主机名、操作系统和内核版本。
其中,lsb_release -a、cat /etc/issue、cat /etc/os-release 和 hostnamectl 命令需要 root 权限才能执行。
温馨提示:答案为网友推荐,仅供参考