The uname command can be use to print / display the Linux system information, the uname command also can be use to get the current version of your Linux operating system. The basic Linux command article below use the uname command to get Linux version or to check kernel version name and other system information on Linux Fedora operating system.
1).Get and display all system information on Linux machine:
[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
2).Get and display the Linux kernel name:
[root@fedora ~]# uname
Linux
or
[root@fedora ~]# uname -s
Linux
3).Get and display Linux hostname or node name:
[root@fedora ~]# uname -n
fedora.linux.com
4).Get and display Linux kernel release or could be use to check kernel version name :
[root@fedora ~]# uname -r
2.6.25-14.fc9.i686
5).Get and display Linux kernel version:
[root@fedora ~]# uname -v
#1 SMP Thu May 1 06:28:41 EDT 2008
6).Get and display Linux machine hardware name:
[root@fedora ~]# uname -m
i686
7).Get and display Linux processor name:
[root@fedora ~]# uname -p
i686
8).Get and display Linux hardware platform:
[root@fedora ~]# uname -i
i386
9).Get and display Linux operating system name:
[root@fedora ~]# uname -o
GNU/Linux
[root@fedora ~]#
No comments:
Post a Comment