I think the connection with -s is still reasonably discernible, and the term OS is less ambiguous than just "system", so it doesn't need examples.
16 lines
322 B
Markdown
16 lines
322 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: operating system, release number, and version
|
|
|
|
`uname -srv`
|
|
|
|
- Print the nodename (hostname) of the system
|
|
|
|
`uname -n`
|