[plug] Which linux is that ?

Leon Brooks leon at brooks.fdns.net
Wed Oct 30 09:13:52 WST 2002


On Tuesday 29 October 2002 09:07 pm, 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?

cat /etc/redhat-release works on many RPM-based systems. Even the ones that 
didn't fork from RH often include at least a symlink to the real file for 
compatibility.

    [user at hostname dir]$ cat /etc/redhat-release
    Mandrake Linux release 9.0 (dolphin) for i586

Cheers; Leon



More information about the plug mailing list