Connect with us

Infrastructure

How to get Linux OS Information using uname command

To get details about the OS detail and other hardware details, uname command can be used.

Get Linux Kernel Name

$ uname -s
Linux

Get the network node host name

$ uname -n
ip-172-31-2-34.ec2.internal

Get the Kernel Version

$ uname -r
4.14.232-177.418.amzn2.x86_64

Get Machine Hardware Name

$ uname -m
x86_64

Get Processor Type

$ uname -p
x86_64

Get Hardware Platform

$ uname -i
x86_64

Get All Details

$ uname -a
Linux ip-172-31-85-61.ec2.internal 5.10.135-122.509.amzn2.x86_64 #1 SMP Thu Aug 11 22:41:16 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Continue Reading

Trending

Copyright © 2021 Rajan Panneer Selvam. Some of the content is derived from publically available information. For some of the resources I have obtained commercial licenses and you cannot use them in your projects. Before reusing any of the site content, please double-check for copyright issues. I am not responsible if you are infringing copyrights.