uname: refresh (#6242)
This commit is contained in:
@@ -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: <https://www.gnu.org/software/coreutils/uname>.
|
||||
|
||||
- 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`
|
||||
|
@@ -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: <https://ss64.com/osx/uname.html>.
|
||||
|
||||
- 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`
|
||||
|
Reference in New Issue
Block a user