UNAME(1) General Commands Manual UNAME(1)

unamereturn system name and information

uname [-amnrsv]

uname prints the operating system name, and optionally more information about the system to standard output, separated by spaces.

Enable all options, equivalent to passing -mnrsv.
Write machine name, also known as the processor architecture.
Write network node name, also known as hostname.
(non-standard) Write processor type. Currently aliased to -m.
Write running operating system release.
Write running operating system name.
Write version level of running operating system release.

If no options are specified, uname prints the operating system as if -s was specified.

The uname utility exits 0 on success, and >0 if an error occurs.

uname should be compliant with the IEEE Std 1003.1-2024 (“POSIX.1”) specification.

The -p option is an extension.

Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>

2024-04-21 Linux 6.6.67-gentoo-x86_64