Sometimes, you may not have the information of the Linux server that you are deploying your applications on. In order to get the Linux version and distribution, all what you need to do is to use the
cat command as follows:
The distribution and version information are stored in the
/etc directory with the pattern *-release.