diff --git a/pages/linux/lshw.md b/pages/linux/lshw.md index b16f116655..5194e27e0e 100644 --- a/pages/linux/lshw.md +++ b/pages/linux/lshw.md @@ -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}}`