mirror of https://github.com/CrimsonTome/tldr.git
26 lines
521 B
Markdown
26 lines
521 B
Markdown
# uname
|
|
|
|
> 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://keith.github.io/xcode-man-pages/uname.1.html>.
|
|
|
|
- Print kernel name:
|
|
|
|
`uname`
|
|
|
|
- Print system architecture and processor information:
|
|
|
|
`uname -mp`
|
|
|
|
- Print kernel name, kernel release and kernel version:
|
|
|
|
`uname -srv`
|
|
|
|
- Print system hostname:
|
|
|
|
`uname -n`
|
|
|
|
- Print all available system information:
|
|
|
|
`uname -a`
|