mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-23 07:55:32 +02:00
parent
f41f43dbd1
commit
55ced7e717
1 changed files with 12 additions and 4 deletions
|
@ -1,9 +1,9 @@
|
|||
# lshw
|
||||
|
||||
> List detailed information about hardware configurations as root user.
|
||||
> More information: <https://manned.org/lshw>.
|
||||
> More information: <https://ezix.org/project/wiki/HardwareLiSter>.
|
||||
|
||||
- Launch the GUI:
|
||||
- Launch the X11 GUI (if available):
|
||||
|
||||
`sudo lshw -X`
|
||||
|
||||
|
@ -11,10 +11,18 @@
|
|||
|
||||
`sudo lshw -short`
|
||||
|
||||
- List all disks and storage controllers in tabular format:
|
||||
- List multiple class of hardware (all disks and storage controllers) in tabular format:
|
||||
|
||||
`sudo lshw {{[-c|-class]}} disk -class storage -short`
|
||||
`sudo lshw {{[-c|-class]}} disk {{[-c|-class]}} storage -short`
|
||||
|
||||
- Save all network interfaces to an HTML/XML/JSON file:
|
||||
|
||||
`sudo lshw {{[-c|-class]}} network -{{html|xml|json}} > interfaces{{.html|.xml|.json}}`
|
||||
|
||||
- List network interfaces without revealing sensitive information (IP addresses, serial numbers, etc.):
|
||||
|
||||
`sudo lshw {{[-c|-class]}} network -sanitize`
|
||||
|
||||
- List a particular class of hardware:
|
||||
|
||||
`sudo lshw {{[-c|-class]}} {{system|bridge|memory|processor|address|storage|disk|tape|bus|network|display|input|printer|multimedia|communication|power|volume|generic}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue