Let’s say you’ve manage to get yourself into a GNU/Linux bash terminal. What can you do in order to determine its distro and release information? Listed here are the three methods to get release information of a running GNU/Linux box.
You can type “lsb_release -a”
/etc/*release and /etc/*issue method
Alternatively, you could try typing “cat /etc/*release” or “cat /etc/*issue”.
If else fails, you could always try the “cat /proc/version” method to see where the kernel came from.
Hope this would help!