Re: uname distro?
Frank Hellmann <[email protected]> Sat, 04 Feb 2006 12:14:52 +0100
| Newsgroups | gmane.comp.video.linux.movies |
|---|---|
| Message-ID | <[email protected]> |
Hi Robin!
A change to the uname command or a /etc/release file was discussed by
the LSB group a while ago, but it seems it has not really found it's way
into any distribution so far. I guess the best bet for now is to check
for the following files:
Novell SuSE
/etc/SuSE-release
Red Hat
/etc/redhat-release, /etc/redhat_version
Fedora
/etc/fedora-release
Slackware
/etc/slackware-release, /etc/slackware-version
Ubuntu
/etc/ubuntu-release
Debian
/etc/debian_release, /etc/debian_version,
Mandrake
/etc/mandrake-release
Yellow dog
/etc/yellowdog-release
Sun JDS
/etc/sun-release
Solaris/Sparc
/etc/release
Gentoo
/etc/gentoo-release
And if this doesn't work (esp. older dists don't seem to have these)
check the contens of the all famous /etc/issue file. :-)
Cheers,
Frank...
Robin Rowe wrote:
> Is there a uname-like command to tell what distro a machine is
> running? How do folks managing a group of machines with different
> distros/versions keep it straight what's where?
>
> Robin
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> _______________________________________________
> Linuxmovies-general mailing list
> Linuxmovies-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/linuxmovies-general
>
>
--
-----------------------------------------------
Frank Hellmann [email protected] www.vfx.to
Reimarusstr. 17 20459 Hamburg Germany
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642