在没有 root 权限的情况下,如何从 shell 确定我正在运行的 Red Hat Enterprise Linux 版本?
理想情况下,我想同时获得主要和次要版本,例如 RHEL 4.0 或 RHEL 5.1 等。
linux redhat rhel4 rhel5 rhel6
linux ×1
redhat ×1
rhel4 ×1
rhel5 ×1
rhel6 ×1