
If you want to check which version of Ubuntu is installed on a machine run the following command:
lsb_release -a
On Debian the command is:
cat /etc/debian_version
The redhat equivalent, which would work on redhat derivatives as well, is:
cat /etc/redhat-release







Leave a Reply