tldr/pages/osx/uname.md

21 lines
502 B
Markdown
Raw Normal View History

# uname
2015-12-07 04:51:25 +03:00
> 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.
2015-10-09 10:54:24 +03:00
- Print hardware-related information: machine and processor:
2015-07-08 20:45:35 +03:00
`uname -mp`
- Print software-related information: operating system, release number, and version:
`uname -srv`
- Print the nodename (hostname) of the system:
`uname -n`
2015-12-23 19:16:11 +03:00
- Print all available system information (hardware, software, nodename):
2015-12-23 19:16:11 +03:00
`uname -a`