[plug] Which linux is that ?

Jason Bainbridge jaseone at myrealbox.com
Tue Oct 29 21:41:07 WST 2002


On Tue, 29 Oct 2002 21:07, Daniel wrote:
> Hello Plug, I am wondering if I sit at a strange linux box - how I find
> out if it is Redhat/Mandrake/Debian/Suse etc?

Your best bet would be the /proc/version file but that contains distro 
customised kernel stuff so it isn't a guarantee that it will have the info in 
it all the time.

There is also a bash script available that will look at distro specific files 
and work it out from there: http://distro.pipfield.ca/ It's a bit out of date 
though, but it probably wouldn't be too hard to modify (says he without 
looking at the source...)

Cheers!
-- 
Jason Bainbridge
KDE - Conquer Your Desktop - http://kde.org
KDE Web Team - webmaster at kde.org
KDE Usability Project - http://usability.kde.org



More information about the plug mailing list