System and processes

The uname command

Shows system information: kernel, architecture and host name.

Syntax

uname [opciones]

Most useful options

-aAll the information
-rKernel version
-mArchitecture

Copy-ready examples

$ uname -aEverything
$ uname -rOnly the kernel version

You can try them in the browser terminal: it does not touch your computer.

Typical mistakes

  • When you ask for help on a forum, uname -a is the first thing they will ask for.

Related commands

FAQ

What is the kernel?

The core of the system: the layer that talks to the hardware.

Learn to actually use it

The basic Linux course takes you from zero to console fluency with 24 self-grading lessons.

Start the free course