1-- 系统版本信息
2root@rhel10:~# cat /etc/os-release
3NAME="Red Hat Enterprise Linux"
4VERSION="10.0 (Coughlan)"
5ID="rhel"
6ID_LIKE="centos fedora"
7VERSION_ID="10.0"
8PLATFORM_ID="platform:el10"
9PRETTY_NAME="Red Hat Enterprise Linux 10.0 Beta (Coughlan)"
10ANSI_COLOR="0;31"
11LOGO="fedora-logo-icon"
12CPE_NAME="cpe:/o:redhat:enterprise_linux:10::baseos"
13HOME_URL="https://www.redhat.com/"
14VENDOR_NAME="Red Hat"
15VENDOR_URL="https://www.redhat.com/"
16DOCUMENTATION_URL="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/10"
17BUG_REPORT_URL="https://issues.redhat.com/"
18
19REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 10"
20REDHAT_BUGZILLA_PRODUCT_VERSION=10.0
21REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
22REDHAT_SUPPORT_PRODUCT_VERSION="10.0 Beta"
23
24-- glibc 版本
25root@rhel10:~# ldd --version
26ldd (GNU libc) 2.39
27Copyright (C) 2024 Free Software Foundation, Inc.
28This is free software; see the source for copying conditions. There is NO
29warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
30Written by Roland McGrath and Ulrich Drepper.
31
32-- OpenSSH 和 OpenSSL 版本
33root@rhel10:~# ssh -V
34OpenSSH_9.8p1, OpenSSL 3.2.2 4 Jun 2024
35
36-- 磁盘分区
37root@rhel10:~# lsblk
38NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
39sr0 11:0 1 1024M 0 rom
40nvme0n1 259:0 0 50G 0 disk
41├─nvme0n1p1 259:1 0 600M 0 part /boot/efi
42├─nvme0n1p2 259:2 0 1G 0 part /boot
43└─nvme0n1p3 259:3 0 48.4G 0 part
44 ├─rhel-root 253:0 0 43.4G 0 lvm /
45 └─rhel-swap 253:1 0 5G 0 lvm [SWAP]