uname

From RaySoft

uname (short for unix name) is a software program in Unix and Unix-like computer operating systems that prints the name, version and other details about the current machine and the operating system running on it.[1]

Documentation

Syntax

uname [PARAMETER ...]

Parameters

-a, --all
Print all information.
-i, --hardware-platform
Print the hardware platform or "unknown" (e.g. i386).
-m, --machine
Print the machine hardware name (e.g. i686).
-n, --nodename
Print the network node hostname.
-o, --operating-system
Print the operating system (e.g. GNU/Linux).
-p, --processor
Print the processor type or "unknown" (e.g. i686).
-r, --kernel-release
Print the kernel release (e.g. 2.6.32.16-150.fc12.i686.PAE).
-s, --kernel-name
Print the kernel name (e.g. Linux).
-v, --kernel-version
Print the kernel version (e.g. #1 SMP Sat Jul 24 05:25:42 UTC 2010).

Examples

uname -a

Output:

Linux oxygen.raysoft.loc 2.6.32.16-150.fc12.i686.PAE #1 SMP Sat Jul 24 05:25:42 UTC 2010 
i686 i686 i386 GNU/Linux

References