commands.sh
⌘K

uname

all

Print details about the current machine and the operating system running on it. See also: `lsb_release`.

More info →

Options (5)

-a, --allboolean

Print all available system information

Example: uname {{[-a|--all]}}
boolean

Print system architecture and processor information

Example: uname {{[-mp|--machine --processor]}}
boolean

Print kernel name, kernel release, and kernel version

Example: uname {{[-srv|--kernel-name --kernel-release --kernel-version]}}
-n, --nodenameboolean

Print system hostname

Example: uname {{[-n|--nodename]}}
-o, --operating-systemboolean

Print the current operating system name

Example: uname {{[-o|--operating-system]}}

Examples (7)

Print kernel name

uname

Print all available system information

uname [-a|--all]

Print system architecture and processor information

uname [-mp|--machine --processor]

Print kernel name, kernel release, and kernel version

uname [-srv|--kernel-name --kernel-release --kernel-version]

Print system hostname

uname [-n|--nodename]

Print the current operating system name

uname [-o|--operating-system]

Display help

uname --help
made by @shridhargupta | data from tldr-pages