mirror of https://github.com/CrimsonTome/tldr.git
21 lines
472 B
Markdown
21 lines
472 B
Markdown
# uname
|
|
|
|
> Print details about the current machine and the operating system running on it.
|
|
> Note: If you're on Linux, try also the `lsb_release` 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`
|