FSG (Free Standards Group) 组织开发的 LSB (Linux Standard Base) 标准命令之一, 用于查看 Linux 发行版兼容性信息。
lsb_release -a
基本语法
lsb_release [options]
选项参数
| 参数 | EN 解释 | 中文翻译 | Remark |
|---|---|---|---|
| -h, --help | show this help message and exit | 展示此帮助消息并退出 | |
| -v, --version | show LSB modules this system supports | 展示此系统支持的 LSB 模块 | |
| -i, --id | show distributor ID | 展示经销商 ID | |
| -d, --description | show description of this distribution | 展示此分发的描述 | |
| -r, --release | show release number of this distribution | 展示此分发的发行编号 | |
| -c, --codename | show code name of this distribution | 展示此分发的代码名称 | |
| -a, --all | show all of the above information | 展示上述所有信息 | |
| -s, --short | show requested information in short format | 以短格式展示请求的信息 |
| Function | 命令 | 文字解释 | 示例 | 示例解释 |
|---|---|---|---|---|
| 信息 | lsb_release -a | 展示 Linux 发行版所有相关信息 | ||
| 帮助 | lsb_release -h | 展示帮助信息 | ||
| lsb_release --help | ||||
| Version | lsb_release -v | 展示版本信息 | ||
| lsb_release --version |
Copyright Notice: This article is an exclusive original manuscript, copyright belongs to Happy Digits Software , shall not be reproduced without permission.