From ae9cbf57ef8f56a76476ccd29d62169d83c4c305 Mon Sep 17 00:00:00 2001 From: I-Man Ng Date: Wed, 23 Jan 2019 15:52:35 +0800 Subject: [PATCH] add hardware lshw --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index cbf4213..504018b 100644 --- a/README.md +++ b/README.md @@ -1906,6 +1906,13 @@ systemctl list-unit-files|grep enabled ## Hardware [[back to top](#handy-bash-oneliner-commands)] +##### Collect and summarize all hardware info of your machine +```bash +lshw -json >report.json +# Other options are: [ -html ] [ -short ] [ -xml ] [ -json ] [ -businfo ] [ -sanitize ] ,etc +``` + + ##### Finding Out memory device detail ```bash sudo dmidecode -t memory