lshw B.02.17 命令详解


查看硬件信息。

另请参阅:

基本语法     Basic Usage


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

format

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

options

参数 EN 解释 中文翻译 Remark
-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 等)

Basic Usage

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

 

Copyright Notice: This article is an exclusive original manuscript, copyright belongs to Happy Digits Software , shall not be reproduced without permission.