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 9.16. Using the uname command on the EB2410ITX
>uname ABLE >uname -a ABLE unknown 2.53 #18035 Mon Jan 26 12:22:21 2009 s3c2410 ABLE >uname -r 2.53 >uname -v #18035 Mon Jan 26 12:22:21 2009 >