如何查看Linux(suse和RedHat)操作系统与内核版本

2024-11-17 04:37:29
推荐回答(1个)
回答1:

rtpserver01:/proc/scsi/qla2xxx # more /etc/SuSE-release SUSE Linux Enterprise Server 10 (x86_64) VERSION = 10 PATCHLEVEL = 2###对应的RedHat可以查看etc/redhat-release文件### rtpserver01:/proc/scsi/qla2xxx # lsb_release -a LSB Version: core-2.0-noarch:core-3.0-noarch:core-2.0-x86_64:core-3.0-x86_64:desktop-3.1-amd64:desktop-3.1-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.1-amd64:graphics-3.1-noarch Distributor ID: SUSE LINUX Description: SUSE Linux Enterprise Server 10 (x86_64) Release: 10 Codename: n/a