In Windows I read the registry key SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\ProductName to get the full name and version of the OS.
SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\ProductName
But in Linux, th
Try:
cat /etc/lsb-release
You can also try
lsb_release -a
Or:
cat /proc/version
trying this way is an interesting one and less restrictive than lsb-release.
$ cat /etc/*-release