mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 13:05:59 +02:00
lshw: add page (#1854)
This commit is contained in:
parent
f88a1894a5
commit
2a35fd6627
1 changed files with 19 additions and 0 deletions
19
pages/linux/lshw.md
Normal file
19
pages/linux/lshw.md
Normal file
|
@ -0,0 +1,19 @@
|
|||
# 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}}`
|
Loading…
Add table
Reference in a new issue