cat /etc/*release 和lsb_release -a 命令执行结果解释] :/home1/apple>cat /etc/*releaseLSB_VERSION="core-2.0-noarch:core-3.0-noarch:core-2.0-x86_64:core-3.0-x86_64"SUSE Linux Enterprise Server 10 (x86_64)VERSION = 10PATCHLEVEL = 2] :/home1/appl

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/15 08:56:15

cat /etc/*release 和lsb_release -a 命令执行结果解释] :/home1/apple>cat /etc/*releaseLSB_VERSION="core-2.0-noarch:core-3.0-noarch:core-2.0-x86_64:core-3.0-x86_64"SUSE Linux Enterprise Server 10 (x86_64)VERSION = 10PATCHLEVEL = 2] :/home1/appl
cat /etc/*release 和lsb_release -a 命令执行结果解释
] :/home1/apple>cat /etc/*release
LSB_VERSION="core-2.0-noarch:core-3.0-noarch:core-2.0-x86_64:core-3.0-x86_64"
SUSE Linux Enterprise Server 10 (x86_64)
VERSION = 10
PATCHLEVEL = 2
] :/home1/apple>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
有关于查询结果的具体内容解释吗

cat /etc/*release 和lsb_release -a 命令执行结果解释] :/home1/apple>cat /etc/*releaseLSB_VERSION="core-2.0-noarch:core-3.0-noarch:core-2.0-x86_64:core-3.0-x86_64"SUSE Linux Enterprise Server 10 (x86_64)VERSION = 10PATCHLEVEL = 2] :/home1/appl
解析如下:
1./etc/*release是系统安装时默认的发行版本信息,通常安装好系统后文件内容不会发生变化.
2.lsb_release -a :FSG(Free Standards Group)组织开发的LSB (Linux Standard Base)标准的一个命令,用来查看linux兼容性的发行版信息.

关于lsb_release -a和/etc/*release显示的发行版本号不同,原因只有一个:系统内核手动升级了.

具体的命令执行结果就是一些版本信息的说明.你可以用man lsb_release来查看这个命令的详细解释.