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/uname.
-
Print kernel name:
uname
-
Print system architecture and processor information:
uname --machine --processor
-
Print kernel name, kernel release and kernel version:
uname --kernel-name --kernel-release --kernel-version
-
Print system hostname:
uname --nodename
-
Print all available system information:
uname --all
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.