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:
parent
77f84dd115
commit
70b9d678a0
1 changed files with 3 additions and 3 deletions
|
@ -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}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue