Print system information, print information about the machine and operating system it is run on. If no options are given, `uname' acts as if the `-s' option were given.

      uname [OPTION]...


     Print all of the below information.

     Print the machine (hardware) type.

     Print the machine's network node hostname.

     Print the machine's processor type

     Print the operating system release.

     Print the operating system name.

     Print the operating system version.

If multiple options or `-a' are given, the selected information is printed in this order:


The OSVERSION, at least, may well be multiple words.
For example:
uname -a
=> Linux hayley 1.0.4 #3 Thu May 12 18:06:34 1994 i486

Related commands:

env - Display, set, or remove environment variables
groups - Print group names a user is in
hostname - Print or set system name
id - Print user and group id's
logname - Print current login name
ps - list processes
tty - Print filename of terminal on stdin
users - Print login names of users currently logged in
who - Print who is currently logged in
whoami - Print the current user id and name (`id -un')

Equivalent Windows NT commands:

SET - Display, set, or remove Windows NT environment variables
NET - WORKSTATION - Manage network resources

Back to the Top

Simon Sheppard