From cb277137b63aed1c4da6226be99f1e58905b8c08 Mon Sep 17 00:00:00 2001 From: Waldir Pimenta Date: Sat, 19 Nov 2016 17:41:17 +0000 Subject: [PATCH] uname: split page to provide contextually-relevant info in the main desc. (#1156) --- pages/linux/uname.md | 20 ++++++++++++++++++++ pages/{common => osx}/uname.md | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 pages/linux/uname.md rename pages/{common => osx}/uname.md (82%) diff --git a/pages/linux/uname.md b/pages/linux/uname.md new file mode 100644 index 000000000..1bc3143be --- /dev/null +++ b/pages/linux/uname.md @@ -0,0 +1,20 @@ +# uname + +> Print details about the current machine and the operating system running on it. +> Note: for additional information about the operating system, try the `lsb_release` command. + +- Print hardware-related information: machine and processor: + +`uname -mp` + +- Print software-related information: operating system, release number, and version: + +`uname -srv` + +- Print the nodename (hostname) of the system: + +`uname -n` + +- Print all available system information (hardware, software, nodename): + +`uname -a` diff --git a/pages/common/uname.md b/pages/osx/uname.md similarity index 82% rename from pages/common/uname.md rename to pages/osx/uname.md index ae6212f4e..78330a2e1 100644 --- a/pages/common/uname.md +++ b/pages/osx/uname.md @@ -1,7 +1,7 @@ # uname > Print details about the current machine and the operating system running on it. -> Note: If you're on Linux, try also the `lsb_release` command. +> Note: for additional information about the operating system, try the `sw_vers` command. - Print hardware-related information: machine and processor: