lsb_release 命令詳解


FSG (Free Standards Group) 組織開發的 LSB (Linux Standard Base) 標準命令之一, 用於查看 Linux 發行版兼容性信息。

基本用法     詳細用法

lsb_release -a
			

基本語法

lsb_release [options]
			

選項參數

參數 EN 解釋 中文翻譯 備注
-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 以短格式展示請求的信息

基本用法

功能 命令 文字解釋 示例 示例解釋
信息 lsb_release -a 展示 Linux 發行版所有相關信息
幫助 lsb_release -h 展示幫助信息
lsb_release --help
版本 lsb_release -v 展示版本信息
lsb_release --version

 

版權聲明: 本文為獨傢原創稿件,版權歸 樂數軟件 ,未經許可不得轉載。