How to get the OS Version in Linux

For getting the installed OS version in Linux, we can use the following command.

In redhat distributions,

# cat /etc/redhat-release

In debian distributions,

# cat /etc/lsb-release

Leave a Reply

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