Reference

uname(1)

print system information

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

-A, --all-labeled

print all information, one labeled field per line, 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

Report bugs to: <[email protected]>.
Report any translation bugs to: <https://translationproject.org/team/>.
GNU coreutils home page: <https://www.gnu.org/software/coreutils/>
General help using GNU software: <https://www.gnu.org/gethelp/>

COPYRIGHT

Copyright © 2026 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

SEE ALSO

arch(1), uname(2)

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

History

--all-labeled since Arch Linux 2026-11-01; --hardware-platform since Debian 4.0 (Etch); --kernel-name since Debian 3.1 (Sarge); --kernel-release since Debian 3.1 (Sarge); --kernel-version since Debian 3.1 (Sarge); --operating-system since Debian 3.1 (Sarge); --processor since Debian 4.0 (Etch); -A since Arch Linux 2026-11-01; -i since Debian 4.0 (Etch); -o since Debian 3.1 (Sarge); -p since Debian 4.0 (Etch).

--release until Debian 3.0 (Woody); --sysname until Debian 3.0 (Woody).