uname (1)

Quick Reference

Print details about the current machine and the operating system running on it. Note: for additional information about the operating system, try the lsb_release command.

  • Print hardware-related information: machine and processor:

uname -mp

  • Print software-related information: operating system, release number, and version:

uname -srv

  • Print the nodename (hostname) of the system:

uname -n

  • Print all available system information (hardware, software, nodename):

uname -a

NAME

uname - print system information

SYNOPSIS

uname [ OPTION]...

DESCRIPTION

Print certain system information. With no OPTION, same as -s.
-a, --all
print all information, in the following order, except omit -p and -i if unknown:
-s, --kernel-name
print the kernel name
-n, --nodename
print the network node hostname
-r, --kernel-release
print the kernel release
-v, --kernel-version
print the kernel version
-m, --machine
print the machine hardware name
-p, --processor
print the processor type (non-portable)
-i, --hardware-platform
print the hardware platform (non-portable)
-o, --operating-system
print the operating system
--help
display this help and exit
--version
output version information and exit

AUTHOR

Written by David MacKenzie.

REPORTING BUGS

GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
 
Report uname translation bugs to <https://translationproject.org/team/>

SEE ALSO

arch(1), uname(2)
Full documentation at: <https://www.gnu.org/software/coreutils/uname>
 
or available locally via: info '(coreutils) uname invocation'

Information

Source
Coreutils
OS/version
GNU coreutils 8.29.13-0a854
Source updated
December 2, 2018
Page created
February 9, 2018
Page generated
December 2, 2018