From 48368fd383c5d272a8b7cc5cc4f15da1687ed632 Mon Sep 17 00:00:00 2001 From: Gal Szkolnik Date: Sun, 19 Jun 2022 22:44:12 -0400 Subject: [PATCH] Added System information --- _home/private_dot_local/bin/executable_sz-doctor | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/_home/private_dot_local/bin/executable_sz-doctor b/_home/private_dot_local/bin/executable_sz-doctor index aa6c4ec..8cb0c09 100644 --- a/_home/private_dot_local/bin/executable_sz-doctor +++ b/_home/private_dot_local/bin/executable_sz-doctor @@ -68,6 +68,18 @@ function check-exist() { eval $_RETURN_EVAL } +#### Output starts here + +printf "%-20s %-44s %-20s\n" "Model" "CPU" "BIOS Firmware" +printf "%-20s %-44s %-20s\n" "$( + sudo dmidecode -s system-family + )" "$(sudo dmidecode -s processor-version + )" "$(sudo dmidecode -s bios-version)" +printf " Product Name: %-49s S/N: %s\n" "$( + sudo dmidecode -s system-product-name + )" "$(sudo dmidecode -s system-serial-number)" +echo '' + echo "Shell: $SHELL" echo ''