Untitled Document
uname Command

uname - The command displays certain features of the operating system running on your machine .

Example 1 - Basic Example

By default , it simply displays the name of the operating system .

   uname     

Example 2 Displying Current release of operating system ( -r ) option

use -r ( Release) option to get the version of your opertaing system .

   uname -r     

Example 3 - Displaying machine name ( -n )

If your machine is connected to anetwork , it must have a name (called hostname) . If your network is connected to the internet , then this hostname is a component of your machine's domain name . The -n options tells you the hostname .

   uname -n    

Example 4 - Displays system information ( -a ) option

The -a option , Displays system information

  uname -a  
Untitled Document