Name

uname — Print system identification

Synopsis

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

Options

-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

--help

display this help and exit

--version

output version information and exit

Description

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 46. Using the uname command on the EB2410ITX

>uname
ABLE
>uname -a
ABLE unknown 2.21 #1 Mon Mar 13 12:19:51 GMT 2006 s3c2410x ABLE
>uname -r
2.21
>uname -v
#1 Mon Mar 13 12:19:51 GMT 2006
>

See also

version.