Results 1 to 4 of 4
I need some info from certain distros for an application I'm writing.
I need to know whats all in the file that tells the distro and release info. It is ...
- 06-23-2007 #1Just Joined!
- Join Date
- Jan 2007
- Posts
- 8
Looking for some info please
I need some info from certain distros for an application I'm writing.
I need to know whats all in the file that tells the distro and release info. It is usually located under /etc and is named something like <distro>-release or <distro>-version (<distro> being the name of the distro your using).
So if you could please tell me the name of the file and its contents (a simple cat /etc/distro-xxxx would do).
I already have the info for the following distros:
slackware
arch linux
zenwalk
fedora
ubuntu
sabayon
turbolinux
Thank you for any help!
- 06-24-2007 #2
Gentoo 2007.0
/etc/gentoo-release:
Gentoo Base System release 1.12.9Put your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
Linux User #425940
Don't PM me with questions, instead post in the forums
- 06-27-2007 #3
Both CentOS and Fedora use /etc/redhat-release.
On my CentOS 4.5 server it says: "CentOS release 4.5 (Final)"Linux user #126863 - see http://linuxcounter.net/
- 06-27-2007 #4Just Joined!
- Join Date
- Jan 2007
- Posts
- 8
Thanks guys.
I came up with an easy way to find the name of the file for most distros:
ls /etc | grep "version\|release"


Reply With Quote
