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 --all
-
Print the current kernel name:
uname --kernel-name
-
Print the current network node host name:
uname --nodename
-
Print the current kernel release:
uname --kernel-release
-
Print the current kernel version:
uname --kernel-version
-
Print the current machine hardware name:
uname --machine
-
Print the current processor type:
uname --processor
-
Print the current operating system name:
uname --operating-system
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.