diff --git a/pages/linux/uname.md b/pages/linux/uname.md new file mode 100644 index 0000000000..1bc3143be6 --- /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 ae6212f4e1..78330a2e1f 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: