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
-
AWS3 years ago
How to install NodeJS in Amazon Linux 2
-
Infrastructure3 years ago
How to test CPU, Memory and File System Performance using Sysbench
-
AWS3 years ago
How to install .Net 6 in Amazon Linux 2
-
Uncategorized3 years ago
How to install Docker in Amazon Linux 2?
-
Infrastructure3 years ago
How to reproduce CVE-2021-44228 (Log4J vulnerability), patch it, and validate the fix
-
Uncategorized3 years ago
Everything, Everywhere, All At Once
-
Linux3 years ago
How to install git in Amazon Linux 2
-
Infrastructure3 years ago
Getting started with Terraform CDK and TypeScript