1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/lshw.md

20 lines
388 B
Markdown
Raw Normal View History

2018-01-02 00:40:38 +08:00
# lshw
> List detailed information about hardware configurations as root user.
- Launch the GUI:
`sudo lshw -X`
- List all hardwares 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}}`