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

37 lines
747 B
Markdown
Raw Normal View History

# uname
> Print details about the current machine and the operating system running on it.
> More information: <https://www.gnu.org/software/coreutils/manual/html_node/uname-invocation.html>.
- Print all information:
`uname {{[-a|--all]}}`
- Print the current kernel name:
`uname {{[-s|--kernel-name]}}`
- Print the current network node host name:
`uname {{[-n|--nodename]}}`
- Print the current kernel release:
`uname {{[-r|--kernel-release]}}`
- Print the current kernel version:
`uname {{[-v|--kernel-version]}}`
- Print the current machine hardware name:
`uname {{[-m|--machine]}}`
- Print the current processor type:
`uname {{[-p|--processsor]}}`
- Print the current operating system name:
`uname {{[-o|--operating-system]}}`