megacolorboy

Back

Published on October 2nd, 2021

Linux

How to identify which Linux distribution is running in your system?

If you've read my earlier post, I was using Ubuntu, at that time, and I thought that was how you identify which distro is running in your system but using is not always going to work as some distributions may not have it installed.Try the following command to identify the distribution you are running in your system:And you'll get the following output:Hope this helps you out!

1 minute read

If you've read my earlier post, I was using Ubuntu, at that time, and I thought that was how you identify which distro is running in your system but using lsb_release -a is not always going to work as some distributions may not have it installed.

Try the following command to identify the distribution you are running in your system:


cat /etc/os-release

And you'll get the following output:


NAME="XXXX"
ID="XXXX"
DISTRIB_ID="XXXX"
PRETTY_NAME="XXXX"

Hope this helps you out!