LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 02-03-2006, 05:36 AM   #1
ghaefb
Member
 
Registered: Aug 2004
Location: Slovenia
Distribution: Fedora Core
Posts: 37

Rep: Reputation: 15
Contents of /etc/<distribution>_version and /etc/<distribution>-release


I'm gathering some information about Linux distros and I'd like to know:

1) Does the file /etc/slackware-release exist on Slackware Linux ?

2) What are the contents of this file ?


Thanks

Last edited by ghaefb; 02-03-2006 at 06:46 AM.
 
Old 02-03-2006, 05:39 AM   #2
ghaefb
Member
 
Registered: Aug 2004
Location: Slovenia
Distribution: Fedora Core
Posts: 37

Original Poster
Rep: Reputation: 15
Contents of /etc/<distribution>_version and /etc/<distribution>-release

I'm gathering some information about Linux distros and I'd like to know:

1) Does the file /etc/debian_version exist on Debian Linux ?
Is there any other file that contains the release information ?

What about Ubuntu ?


2) What are the contents of this file ?


Thanks
 
Old 02-03-2006, 05:42 AM   #3
ghaefb
Member
 
Registered: Aug 2004
Location: Slovenia
Distribution: Fedora Core
Posts: 37

Original Poster
Rep: Reputation: 15
Contents of /etc/mandrake-release

I'm gathering some information about Linux distros and I'd like to know:

1) Does the file /etc/mandrake-release exist on Mandriva Linux ?
If not, what is the new name of this file ?

2) What are the contents of this file ?


Thanks
 
Old 02-03-2006, 05:43 AM   #4
ghaefb
Member
 
Registered: Aug 2004
Location: Slovenia
Distribution: Fedora Core
Posts: 37

Original Poster
Rep: Reputation: 15
Contents of /etc/SuSE-release

I'm gathering some information about Linux distros and I'd like to know:

1) Does the file /etc/SuSE-release exist on SuSE/Novell Linux ?

2) What are the contents of this file ?


Thanks
 
Old 02-03-2006, 05:43 AM   #5
truthfatal
Member
 
Registered: Mar 2005
Location: Winnipeg, MB
Distribution: Raspbian, Debian, Slackware, OS X
Posts: 443
Blog Entries: 9

Rep: Reputation: 32
There's a slackware-version file in /etc

it contains:
Code:
Slackware 10.2.0
 
Old 02-03-2006, 06:15 AM   #6
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Because all 4 threads are identical, I have merged them and moved them to Linux-Distributions. The files will contain the version number.
 
Old 02-03-2006, 06:46 AM   #7
ghaefb
Member
 
Registered: Aug 2004
Location: Slovenia
Distribution: Fedora Core
Posts: 37

Original Poster
Rep: Reputation: 15
@truthfatal: Thank you for the info.

@XavierP: I apologize, that was a stupid what I did... thanks for merging threads.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rpm contents bong.mau Linux - General 1 11-03-2005 01:54 PM
cd contents ultra99 Linux - Software 2 08-17-2004 06:37 AM
why contents init.d/ and rc.d/ are same ? tushar123 Linux - Software 1 07-30-2004 12:04 AM
how to view contents of cd Synth218 Linux - Newbie 7 05-25-2003 06:34 PM
d/l contents of a dir hfawzy Linux - General 2 05-08-2003 12:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 12:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration