What is the easiest way to find Linux version and distribution name from the terminal? Is there a command that works for all different distributions? I am on Fedora.
The different files in /etc have info about version, distribution and other.
Eg: In Fedora
/etc/redhat-release, /etc/os-release, /etc/system-release.
$ cat /etc/*release
This will give combined info from the *-release files