mirror of
https://github.com/onceupon/Bash-Oneliner
synced 2024-11-25 22:20:17 +00:00
add hardware
lshw
This commit is contained in:
parent
821c57ec4c
commit
ae9cbf57ef
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue