Re: Easy way to tell what linux distribution is installed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 11 Jul 2004, Ed Wilts wrote:

> The short answer is that it's going to be VERY hard to determine which
> distribution you're running, if it's possible at all.  Nothing would
> stop me from putting a stock kernel on either of my systems and
> /proc/version is going to be even more wrong.

If you restrict yourself to /proc, sure.

However, a lot of distributions have /etc/<distro>-version
that can be used to detect what distro you're running on.

-- 
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux