From 70b9d678a02854a2766d262b32323b645f8bb3d2 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Sat, 10 May 2025 19:53:24 +0300 Subject: [PATCH] lshw: add option placeholders (#16450) Co-authored-by: Fazle Arefin --- pages/linux/lshw.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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}}`