utility

uname

Report kernel name; not proof of utility dialect or filesystem semantics.

Formal Syntax & Structure

bash syntaxbash
uname -s

Return Value

kernel name

Report kernel name; not proof of utility dialect or filesystem semantics.

Working Example

Example Snippetbash
uname -s
Bash Reference