mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
20 lines
434 B
Markdown
20 lines
434 B
Markdown
# lshw
|
|
|
|
> List detailed information about hardware configurations as root user.
|
|
> More information: <https://manned.org/lshw>.
|
|
|
|
- Launch the GUI:
|
|
|
|
`sudo lshw -X`
|
|
|
|
- List all hardware in tabular format:
|
|
|
|
`sudo lshw -short`
|
|
|
|
- List all disks and storage controllers in tabular format:
|
|
|
|
`sudo lshw -class disk -class storage -short`
|
|
|
|
- Save all network interfaces to an HTML file:
|
|
|
|
`sudo lshw -class network -html > {{interfaces.html}}`
|