Home OS X
OS X Syntax

uname

Print operating system name.

SYNTAX
      uname [-amnpsrv]

Options
     -a      Behave as though all of the options -mnrsv were specified.

     -m      Print the machine hardware name.

     -n      Print the nodename (the nodename may be a name that the system is
             known by to a communications network).

     -p      Print the generic processor type.

     -s      Print the operating system name.
             This is the default if no other options are specified.

     -r      Print the operating system release.

     -v      Print the operating system version.

"I have discovered the art of deceiving diplomats. I tell them the truth and they never believe me" - Camillo Di Cavour

Related commands:

hostname -

Equivalent BASH command:

uname
- Print operating system name



Back to the Top

Simon Sheppard
SS64.com