Name distribution

Ed Wilts ewilts at ewilts.org
Thu Dec 2 15:44:52 UTC 2004


On Thu, Dec 02, 2004 at 12:50:10PM +0000, Paul Howarth wrote:
> Eric Tanguy wrote:
> >Is there a command to obtain the name of the distribution (ie Fedora
> >GNU/Linux Core 2 (Tettnang)) from command line ?
> 
> cat /etc/redhat-release
> 
> Works for all RedHat-based distros (e.g. RHEL, Fedora).

It also works for Tao - the file is symlink'ed to /etc/tao-release.
On Fedora, the file is a symlink to /etc/fedora-release.

-- 
Ed Wilts, RHCE
Mounds View, MN, USA
mailto:ewilts at ewilts.org
Member #1, Red Hat Community Ambassador Program




More information about the fedora-list mailing list