Friday, September 18, 2009

check Linux Version and System Information

Get and display all system information on Linux machine:
Dispaly Linux system information uname -a
[root@fedora ~]# uname -a
Linux fedora.linux.com 2.6.25-14.fc9.i686 #1 SMP Thu May 1 06:28:41 EDT 2008 i686 i686 i386 GNU/Linux
[root@fedora ~]#

Get and display the Linux kernel name:
Dispaly Linux kernel name uname
[root@fedora ~]# uname
Linux
[root@fedora ~]#

or
[root@fedora ~]# uname -s
Linux
[root@fedora ~]#

Get and display Linux hostname or node name:
Display Linux Hostname uname
[root@fedora ~]# uname -n
fedora.linux.com
[root@fedora ~]#

Get and display Linux kernel release or could be use to check kernel version name :
Display Linux kernel release
[root@fedora ~]# uname -r
2.6.25-14.fc9.i686
[root@fedora ~]#

Get and display Linux kernel version:
Display Linux kernel version
[root@fedora ~]# uname -v 
#1 SMP Thu May 1 06:28:41 EDT 2008
[root@fedora ~]#

Get and display Linux machine hardware name:
Display Linux hardware name
[root@fedora ~]# uname -m
i686
[root@fedora ~]#

Get and display Linux processor name:
Display Linux processor name
[root@fedora ~]# uname -p
i686
[root@fedora ~]#

Get and display Linux hardware platform:
Display Linux Hardware Platform name
[root@fedora ~]# uname -i
i386
[root@fedora ~]#

Get and display Linux operating system name:
Display Linux Operating System with uname
[root@fedora ~]# uname -o
GNU/Linux

No comments:

Post a Comment