How Do You Find Out what Operating System your Linux Server is Running?

Problem scenario
You want to know the distribution and version of your Linux OS. How do you find out without using "cat /etc/*-release"?

Solution
Install Pulumi (it is quick and light), then run a command. Run these three commands:

curl -fsSL https://get.pulumi.com | sh
source ~/.bashrc
pulumi about

The output will tell you what OS you have and its version.

Leave a comment

Your email address will not be published. Required fields are marked *