1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-23 16:55:30 +02:00

lshw: add option placeholders (#16450)

Co-authored-by: Fazle Arefin <fazlearefin@users.noreply.github.com>
This commit is contained in:
Managor 2025-05-10 19:53:24 +03:00 committed by GitHub
parent 77f84dd115
commit 70b9d678a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -13,8 +13,8 @@
- List all disks and storage controllers in tabular format:
`sudo lshw -class disk -class storage -short`
`sudo lshw {{[-c|-class]}} disk -class storage -short`
- Save all network interfaces to an HTML file:
- Save all network interfaces to an HTML/XML/JSON file:
`sudo lshw -class network -html > {{interfaces.html}}`
`sudo lshw {{[-c|-class]}} network -{{html|xml|json}} > interfaces{{.html|.xml|.json}}`