Name

uname

Synopsis

uname [options]

Prints information about the machine and operating system. Without options, prints the name of the operating system.

Options

-a, --all

Combine all the system information from the other options.

-m, --machine

Print the hardware the system is running on.

-n, --nodename

Print the machine’s hostname.

-r, --release

Print the release number of the kernel.

-s, --sysname

Print the name of the operating system.

-p, --processor

Print the type of processor.

-v

Print build information about the kernel.

Get Mac OS X in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.