16 lines
336 B
Markdown
16 lines
336 B
Markdown
# uname
|
|
|
|
> Print details about the current machine and the operating system running on it
|
|
|
|
- Print hardware-related information: machine and processor
|
|
|
|
`uname -mp`
|
|
|
|
- Print software-related information: system name (Linux, Darwin...), release number, and version
|
|
|
|
`uname -srv`
|
|
|
|
- Print the nodename (hostname) of the system
|
|
|
|
`uname -n`
|