From: "Daniel P. Zepeda" Date: 2003-01-07T12:30:23+09:00 Subject: Re: the operating system release On Tue, 7 Jan 2003 12:03:07 +0900 zhoujing@comp.nus.edu.sg (TOTO) wrote: > > If you want to get the version of the OS, under linux (and perhaps other > > unix) you can call the command "uname". > > > > os_version = `uname -a` > > > > regards > > Yes. I knew this. But my goal is to implement a Unix uname clone. So I > can't use uname itself to do that. Well, there is /etc/redhat-release on Redhat and Mandrake systems. Maybe you could check for this file, and maybe there are like files on other distributions like Suse and Debian? -- "Daniel P. Zepeda" (Remove commas for address)