Lshw Command in Linux: The Lshw command used to fetch the detailed reports about the Hardware information. It displays the details about each component of your system such as memory configuration, firmware version, mainboard configuration, CPU version and speed, cache configuration, and bus speed, etc. This article will assist you to use lshw command in Linux Kubuntu 19.10.
- Lshw Command Syntax
- Lshw Command Formats and Options
- Lshw Command Examples
- Lshw Command Help Options
- Generate report in HTML/XML format
- A Short Summary
Lshw Command Syntax:
This is a basic syntax of lshw command in Linux.
Displays the full information about all the detected hardware on your system.
This command will display brief information about the Hardware.
Lshw Command Formats and Options:
format can be -html output hardware tree as HTML -xml output hardware tree as XML -json output hardware tree as a JSON object -short output hardware paths -businfo output bus information options can be -class CLASS only show a certain class of hardware -C CLASS same as '-class CLASS' -c CLASS same as '-class CLASS' -disable TEST disable a test (like pci, isapnp, cpuid, etc. ) -enable TEST enable a test (like pci, isapnp, cpuid, etc. ) -quiet don't display status -sanitize sanitize output (remove sensitive information like serial numbers, etc.) -numeric output numeric IDs (for PCI, USB, etc.) -notime exclude volatile attributes (timestamps) from output
Lshw Command Examples:
- Open the terminal by pressing the shortcut keys CTRL+ALT+T.
- Execute the following commands.
Lshw -class memory Command:
This command will display information about memory.
Lshw -class processor Command:
This command will display information about the processor.
Lshw -class network Command:
This command will display information about the network.
Lshw Command Help Options:
- Launch the terminal by pressing the shortcut keys CTRL+ALT+T.
- Execute the following command.
Generate report in HTML/XML format:
- Lshw command can generate reports of your Hardware Information in HTML, XML and JSON formats.
- This command will generate the HTML format report.
A Short summary:
We hope that the above article illustrated the Lshw Command in Linux with practical examples and screenshots. Please let us know if you have any queries regarding this article. Share your valuable suggestion in the comment section. Thank you for visiting our website Tec Robust.