On Mon, Sep 25, 2006 at 01:31:08PM +0800, Yuwen Dai wrote: > On 9/23/06, 唐彦 <[EMAIL PROTECTED]> wrote: > > > >如何查看用的是debian还是其他的发行版linux > > I think /etc/issue is the formal way to check which distribution Linux. > Many scripts use this file.
/etc/issue is definitely NOT the formal way to check the distribution. The administrator is supposed to edit /etc/issue to some site-specific message. As others has pointed out, lsb_release should work on all distributions that support LSB. (And all decent distributions these days should support LSB, Debian's LSB support is optional.) Ming 2006.09.25 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]