mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-12-29 03:45:31 +03:00
21 lines
502 B
Markdown
21 lines
502 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.
|
|
|
|
- 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`
|