Friday, May 14, 2010

Linux uname Command -s Kernel -r Kernel Release -v Version -o Operating System -n Host Name

Uname command used to find the basic information about that information about which Operating system has been used. What is the kernel version? When it is released
-a Print the basic of the all information
rpmsupport-4 ~/Desktop $ uname -a
Linux jkumar 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux
-s which Operating system has been used
rpmsupport-4 ~/Desktop $ uname -s
Linux
-o related to OS
rpmsupport-4 ~/Desktop $ uname -o
GNU/Linux
rpmsupport-4 ~/Desktop $ uname
Linux
-n refer to the Hostname or local host
rpmsupport-4 ~/Desktop $ uname -n
jkumarRed hat rhel5 uname command version OS kernel hostname -v Operation System version
rpmsupport-4 ~/Desktop $ uname -v
#42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009
-r OS release level
rpmsupport-4 ~/Desktop $ uname -r
2.6.28-11-generic
Operating System Print Basic system Hardware software information

0 comments:

Flag counter

free counters