System Information

uname

Prints kernel and machine information.

uname identifies the running kernel, architecture, and operating system kernel name.

Syntax
uname [options]

Arguments explained

  • -a prints all common information.
  • -r prints kernel release.
  • -m prints machine architecture.

Common examples

Show kernel release
uname -r

Prints the running kernel version string.

Show architecture
uname -m

Shows values such as x86_64 or aarch64.

uname Command
FieldDetails
Commanduname
CategorySystem Information
Primary usePrints kernel and machine information.
Syntaxuname [options]