---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# 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]}}`
