From a81a6fab3350410b8548c455025821f82cccf125 Mon Sep 17 00:00:00 2001 From: Max Xu Date: Mon, 1 Jan 2018 16:59:03 +0800 Subject: [PATCH 1/3] dmidecode.md: add page --- pages/linux/dmidecode.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pages/linux/dmidecode.md diff --git a/pages/linux/dmidecode.md b/pages/linux/dmidecode.md new file mode 100644 index 0000000000..9e29a4b561 --- /dev/null +++ b/pages/linux/dmidecode.md @@ -0,0 +1,23 @@ +# dmidecode + +> Display the DMI (some say SMBIOS) table contents in a human-readable format as root user. + +- Show all DMI table contents: + +`sudo dmidecode` + +- Show the BIOS version: + +`sudo dmidecode -s bios-version` + +- Show the system serial number: + +`sudo dmidecode system-serial-number` + +- Show the whole BIOS information: + +`sudo dmidecode -t bios` + +- Show the whole system information: + +`sudo dmidecode -t system` From dce4bf571ca284aecf33364d1727d3751968ad61 Mon Sep 17 00:00:00 2001 From: Max Xu Date: Mon, 1 Jan 2018 20:10:21 +0800 Subject: [PATCH 2/3] Update dmidecode.md --- pages/linux/dmidecode.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pages/linux/dmidecode.md b/pages/linux/dmidecode.md index 9e29a4b561..4fade5e999 100644 --- a/pages/linux/dmidecode.md +++ b/pages/linux/dmidecode.md @@ -1,6 +1,6 @@ # dmidecode -> Display the DMI (some say SMBIOS) table contents in a human-readable format as root user. +> Display the DMI (some say SMBIOS) table contents in a human-readable format with root privilege. - Show all DMI table contents: @@ -10,14 +10,14 @@ `sudo dmidecode -s bios-version` -- Show the system serial number: +- Show the system's serial number: -`sudo dmidecode system-serial-number` +`sudo dmidecode -s system-serial-number` -- Show the whole BIOS information: +- Show all the BIOS information: `sudo dmidecode -t bios` -- Show the whole system information: +- Show all the system information: `sudo dmidecode -t system` From 7eb98c0a3f753ce3f9e208960000c7cb8b084f31 Mon Sep 17 00:00:00 2001 From: Max Xu Date: Tue, 2 Jan 2018 16:53:54 +0800 Subject: [PATCH 3/3] Update dmidecode.md --- pages/linux/dmidecode.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pages/linux/dmidecode.md b/pages/linux/dmidecode.md index 4fade5e999..df1174689d 100644 --- a/pages/linux/dmidecode.md +++ b/pages/linux/dmidecode.md @@ -1,6 +1,7 @@ # dmidecode -> Display the DMI (some say SMBIOS) table contents in a human-readable format with root privilege. +> Display the DMI (alternatively known as SMBIOS) table contents in a human-readable format. +> Requires root privileges. - Show all DMI table contents: