1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/uname.md

37 lines
782 B
Markdown

# uname
> Print details about the current machine and the operating system running on it.
> See also `lsb_release`.
> More information: <https://www.gnu.org/software/coreutils/manual/html_node/uname-invocation.html>.
- Print kernel name:
`uname`
- Print all available system information:
`uname {{[-a|--all]}}`
- Print system architecture and processor information:
`uname {{[-mp|--machine --processsor]}}`
- Print kernel name, kernel release and kernel version:
`uname {{[-srv|--kernel-name --kernel-release --kernel-version]}}`
- Print system hostname:
`uname {{[-n|--nodename]}}`
- Print the current operating system name:
`uname {{[-o|--operating-system]}}`
- Print the current network node host name:
`uname {{[-n|--nodename]}}`
- Display help:
`uname --help`