I wonder, Is there perhaps a common command to all distros to get this info?
One some sites, people remove text from /etc/issue & /etc/motd
I use Slackware 11 which doesn't have anything in /etc/issue (and I removed the text in /etc/motd)
I can still check the distro name and version in /etc/slackware-version
I'm also not sure if these files are updated if you upgrade to a higher version?
"If you always do what you've always done, you will always be where you've always been."
Not really common, but the existence of a "-release" file, or maybe -version, seems to be pretty common. On RedHat it's redhat-release, on SUSE it's SuSE-release. The file belongs to a package (mine's centos-release-4-4.2), so it'll be updated when that package is updated.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.