From 55ced7e717ea7a319fd84ded87b2b29432875299 Mon Sep 17 00:00:00 2001 From: Fazle Arefin Date: Tue, 13 May 2025 19:04:07 +1000 Subject: [PATCH] lshw: refresh page (#16463) * lshw: refresh page --- pages/linux/lshw.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/pages/linux/lshw.md b/pages/linux/lshw.md index 5194e27e0e..fc6b27c825 100644 --- a/pages/linux/lshw.md +++ b/pages/linux/lshw.md @@ -1,9 +1,9 @@ # lshw > List detailed information about hardware configurations as root user. -> More information: . +> More information: . -- Launch the GUI: +- Launch the X11 GUI (if available): `sudo lshw -X` @@ -11,10 +11,18 @@ `sudo lshw -short` -- List all disks and storage controllers in tabular format: +- List multiple class of hardware (all disks and storage controllers) in tabular format: -`sudo lshw {{[-c|-class]}} disk -class storage -short` +`sudo lshw {{[-c|-class]}} disk {{[-c|-class]}} storage -short` - Save all network interfaces to an HTML/XML/JSON file: `sudo lshw {{[-c|-class]}} network -{{html|xml|json}} > interfaces{{.html|.xml|.json}}` + +- List network interfaces without revealing sensitive information (IP addresses, serial numbers, etc.): + +`sudo lshw {{[-c|-class]}} network -sanitize` + +- List a particular class of hardware: + +`sudo lshw {{[-c|-class]}} {{system|bridge|memory|processor|address|storage|disk|tape|bus|network|display|input|printer|multimedia|communication|power|volume|generic}}`