uname — Print system identification


uname [-a, --all] [-s, --kernel-name] [-n, --nodename] [-r, --kernel-release] [-v, --kernel-version] [-m, --machine] [-o, --operating-system] [--help] [--version]


-a, --all

print all information, in the following order:

-s, --kernel-name

print the kernel name

-n, --nodename

print the network node hostname

-r, --kernel-release

print the kernel release

-v, --kernel-version

print the kernel version

-m, --machine

print the machine hardware name

-o, --operating-system

print the operating system


display this help and exit


output version information and exit


Print system identification, this command is practically identical in use to equivalent commands under UNIX®.

The uname command prints information about the machine and operating system it is run on. If no options are given the -s option is assumed.

The information printed is always in the order kernel-name, nodename, kernel-release, machine and operating system. The values displayed may contain spaces or punctuation.

Example 9.16. Using the uname command on the EB2410ITX

>uname -a
ABLE unknown 2.53 #18035 Mon Jan 26 12:22:21 2009 s3c2410 ABLE
>uname -r
>uname -v
#18035 Mon Jan 26 12:22:21 2009 

See also