1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-07 02:46:01 +02:00
tldr/pages/linux/uname.md

37 lines
745 B
Markdown
Raw Normal View History

# uname
> Uname prints information about the machine and operating system it is run on.
> 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]}}`