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.
Get the Free Newsletter!
Subscribe to Developer Insider for top news, trends, & analysis