What command prints the Linux kernel name and other system information?

The story behind the answer

The command that prints the Linux kernel name and other system information is `uname`.

The name is short for “UNIX name.” On Linux, running `uname` alone normally prints the kernel name, while options provide more detail. For example, `uname -a` displays a broad summary that can include the kernel name, hostname, kernel release, kernel version, machine hardware name, processor type, and operating-system type.

`uname` originated as both a Unix system call and a command in PWB/UNIX, and it is standardized by POSIX. The GNU version is included in the Coreutils package, so it is normally present on Linux systems without a separate installation. The command reports kernel and machine information; it does not identify the logged-in user or measure system uptime.

A common mix-up is `hostname`, which prints or changes the machine’s network name. `whoami` reports the effective username, and `uptime` reports how long the system has been running. For the kernel’s identity and release details, `uname` is the canonical answer.

Source: Wikipedia · fact-checked Sept. 2026

Add question to a list

Choose a list to keep this question in: