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, --allprint all information, in the following order:
-s, --kernel-nameprint the kernel name
-n, --nodenameprint the network node hostname
-r, --kernel-releaseprint the kernel release
-v, --kernel-versionprint the kernel version
-m, --machineprint the machine hardware name
-o, --operating-systemprint the operating system
--helpdisplay this help and exit
--versionoutput 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 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 >