How to View Linux System Information

To know only system name, you can use uname command without any switch will print system information or uname -s command will print the kernel name of your system.

root@localhost ~ $ uname


To view your network hostname, use ‘-n’ switch with uname command as shown.

root@localhost ~ $ uname -n


To get information about kernel-version, use ‘-v’ switch.

root@localhost ~ $ uname -v

#1 SMP Thu Nov 8 23:39:32 UTC 2018

To get the information about your kernel release, use ‘-r’ switch.

root@localhost ~ $ uname -r


To print your machine hardware name, use ‘-m’ switch:

root@localhost ~ $ uname -m