diff --git a/pages/common/uname.md b/pages/common/uname.md index 12209bfcf7..06d412b81e 100644 --- a/pages/common/uname.md +++ b/pages/common/uname.md @@ -1,21 +1,25 @@ # 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. +> See also `lsb_release`. > More information: . -- Print hardware-related information: machine and processor: +- Print kernel name: -`uname -mp` +`uname` -- Print software-related information: operating system, release number, and version: +- Print system architecture and processor information: -`uname -srv` +`uname --machine --processor` -- Print the nodename (hostname) of the system: +- Print kernel name, kernel release and kernel version: -`uname -n` +`uname --kernel-name --kernel-release --kernel-version` -- Print all available system information (hardware, software, nodename): +- Print system hostname: -`uname -a` +`uname --nodename` + +- Print all available system information: + +`uname --all` diff --git a/pages/osx/uname.md b/pages/osx/uname.md index 78330a2e1f..465fa8c446 100644 --- a/pages/osx/uname.md +++ b/pages/osx/uname.md @@ -2,19 +2,24 @@ > Print details about the current machine and the operating system running on it. > Note: for additional information about the operating system, try the `sw_vers` command. +> More information: . -- Print hardware-related information: machine and processor: +- Print kernel name: + +`uname` + +- Print system architecture and processor information: `uname -mp` -- Print software-related information: operating system, release number, and version: +- Print kernel name, kernel release and kernel version: `uname -srv` -- Print the nodename (hostname) of the system: +- Print system hostname: `uname -n` -- Print all available system information (hardware, software, nodename): +- Print all available system information: `uname -a`