![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to know which Linux Distribution i am using ? | BasavarajaKC | Shell Programming and Scripting | 5 | 07-04-2008 04:24 PM |
| What Linux distribution should I use? | Sixmax | UNIX for Dummies Questions & Answers | 7 | 05-27-2008 10:27 PM |
| How to obtain system open file table value in Linux | mahesh. | Shell Programming and Scripting | 0 | 05-25-2007 07:25 AM |
| How to know which Linux Distribution i am using | BasavarajaKC | UNIX for Dummies Questions & Answers | 3 | 06-02-2006 05:00 AM |
| IP details for Unix/Linux login clients? | ghoti | UNIX for Dummies Questions & Answers | 15 | 09-19-2001 08:04 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#8
|
||||
|
||||
|
Ubuntu has /etc/lsb-release.
I don't think the /proc/release is going to differentiate between redhat and fedora. |
| Forum Sponsor | ||
|
|
|
#9
|
|||
|
|||
|
Ubuntu and Debian have /etc/debian_version -- if you don't find /etc/lsb-release, it's Debian or some older Ubuntu. As a secondary heuristic, if /usr/share/doc/ubuntu-standard is absent, it's definitely not stock Ubuntu.
/etc/issue is a good heuristic, too. |
|||
| Google The UNIX and Linux Forums |