2022年10月25日 星期二

[研究]顯示版本資訊 (Rocky Linux 9)

[研究]顯示版本資訊 (Rocky Linux 9)

2022-10-25

Rocky Linux 是類似 CentOS 的 Linux

[root@localhost ~]# hostnamectl
   Static hostname: n/a
Transient hostname: localhost
         Icon name: computer-vm
           Chassis: vm 🖴
        Machine ID: 87ed43b38b2244be98aab17347a68e98
           Boot ID: f7e99b6659484b7f8ec917529406fa99
    Virtualization: vmware
  Operating System: Rocky Linux 9.0 (Blue Onyx)
       CPE OS Name: cpe:/o:rocky:rocky:9::baseos
            Kernel: Linux 5.14.0-70.17.1.el9_0.x86_64   
      Architecture: x86-64
   Hardware Vendor: VMware, Inc.
    Hardware Model: VMware7,1

[root@localhost ~]# cat /etc/rocky-release
Rocky Linux release 9.0 (Blue Onyx)
[root@localhost ~]# cat /etc/os-release
NAME="Rocky Linux"
VERSION="9.0 (Blue Onyx)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="9.0"
PLATFORM_ID="platform:el9"
PRETTY_NAME="Rocky Linux 9.0 (Blue Onyx)"
ANSI_COLOR="0;32"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:rocky:rocky:9::baseos"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
ROCKY_SUPPORT_PRODUCT="Rocky-Linux-9"
ROCKY_SUPPORT_PRODUCT_VERSION="9.0"
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="9.0"

[root@localhost ~]# uname -r
5.14.0-70.17.1.el9_0.x86_64
[root@localhost ~]# uname



(完)


沒有留言:

張貼留言