On Unix-like operating systems, the uname command prints information about the current system.

This page covers the GNU/Linux version of uname.

Description

Print certain system information. If no OPTION is specified, uname assumes the -s option.

  • Description
  • Syntax
  • Examples
  • Related commands
  • Linux commands help

Syntax

uname [OPTION]…

Options

If -a (–all) is specified, the information is printed in the following order of individual options:

Examples

uname -a

Displays system information. Output resembles the following:

SunOS hope 5.7 Generic_106541-08 sun4m sparc SUNW,SPARCstation-10

arch — Display the architecture of the system.isalist — Display the native instruction sets available on a Solaris system.modprobe — Add and remove modules from the Linux kernel.