uname command in linux



uname command : This command provides information about system kernel name, version, release name, hostname, hardware architecture and other.

To know the information about kernel name
# uname
Linux
Or,
# uname -s

To know all information about system information
# uname -a
Linux server.linuxsolution.in 3.10.0-514.el7.x86_64 #1 SMP Tue Nov 22 16:42:41 U                                                                                                                                                             TC 2016 x86_64 x86_64 x86_64 GNU/Linux

To know the information about network hostname /node name  
# uname -n
server.linuxsolution.in

To know the information about linux kernel version
# uname -r
3.10.0-514.el7.x86_64

To know about machine hardware name
# uname -m
x86_64

Also similar to know about hardware platform name
# uname -i
x86_64

To know information about operating system name
# uname -o
GNU/Linux