为什么“uname -o”返回 GNU/Linux 而不是 Ubuntu?

Zoz*_*zez 3 command-line release-management

我知道该uname -o命令将显示操作系统。但是当我在 Ubuntu 20.04 上运行它时,我得到了

GNU/Linux
Run Code Online (Sandbox Code Playgroud)

不是Ubuntu。为什么会这样呢?

gui*_*erc 5

Ubuntu 是一个 GNU/Linux 发行版。

man uname告诉我 -o 选项报告

   -o, --operating-system
          print the operating system
Run Code Online (Sandbox Code Playgroud)

对我来说这是一个有效的答案,Ubuntu 显示了谁打包了您正在使用的 GNU/Linux 操作系统。

我通常会用来lsb_release -a查看我正在使用的 GNU/Linux 的详细信息,对于我的系统,我得到

guiverc@d960-ubu2:~$    lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu Groovy Gorilla (development branch)
Release:        20.10
Codename:       groovy
Run Code Online (Sandbox Code Playgroud)