mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-03 20:55:14 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
25
tldr/linux/lshw
Normal file
25
tldr/linux/lshw
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user