There are lots of commands to find out your ditribution name and distribution version. Some work on some distros, some work on others. Here are some of the methods:
-
lsb_release -a
-
cat /etc/*release
-
cat /etc/issue
-
cat /proc/version
-
uname -a
One of these methods will surely tell you your linux distribution name and current version.
Cheers!