Ubuntu lshw B.02.17 命令详解


查看硬件信息。

另请参阅:

基本语法     基本用法


lshw [-format] [-options ...]
			

format

参数 EN 解释 中文翻译 备注
-html output hardware tree as HTML 将硬件树输出为 HTML
-xml output hardware tree as XML 将硬件树输出为 XML
-short output hardware paths 输出硬件路径
-businfo output bus information 输出总线信息

options

参数 EN 解释 中文翻译 备注
-class CLASS only show a certain class of hardware 仅展示某类硬件
-C CLASS same as '-class CLASS' 如同 -class CLASS
-version print program version 打印程序版本
-disable TEST disable a test (like pci, isapnp, cpuid, etc. ) 禁用测试 (像 pci、isapnp、cpuid 等)
-enable TEST enable a test (like pci, isapnp, cpuid, etc. ) 启用测试 (像 pci、isapnp、cpuid 等)
-quiet don't display status 不显示状态
-sanitize sanitize output (remove sensitive information like serial numbers, etc.) 净化输出 (移除敏感信息,像序列号等)
-numeric output numeric IDs (for PCI, USB, etc.) 输出数字 ID (用于 PCI、USB 等)

基本用法

功能 命令 文字解释 示例 示例解释
帮助 lshw --help 展示帮助信息
版本 lshw -version 展示版本信息

 

版权声明: 本文为独家原创稿件,版权归 乐数软件 ,未经许可不得转载。