-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 17 September 2003 05:04 pm, Ian Bruseker wrote:
> On September 17, 2003 4:47 pm, Peter Van den Wildenbergh wrote:
> > Good-evening all :
> >
> > Given a ssh connection to a linux box.
> > at the command line I type
> >
> > uname -a
> > Linux saturn.cendec 2.4.18-24.7.x #1 Fri Jan 31 07:06:03 GMT 2003 i686
> > unknown
> >
> > But how do I find that it is a redhat/suse or mandrake ?
> > (I know it is a redhat)
> > but I don't know its version 7.0 / 7.3 ???
> >
> cat /etc/redhat-release
> 
> If not found, try
> 
> cat /etc/SuSE-release
> 
> and finally if still nothing, try
> 
> cat /etc/mandrake-release
> 
> I'm sure you see the trend.  :-)  I believe Debian also uses a 
debian-release
=========
If some one wanted to know what it looks like for debian (mine at least) ...

oscar:~$ cat /etc/debian_version 
testing/unstable

oscar:~$ cat /proc/version 
Linux version 2.4.21 ([EMAIL PROTECTED]) (gcc version 3.3.1 20030626 (Debian 
prerelease)) #8 Tue Jul 22 15:12:16 MDT 2003
oscar:~$ 

Mel Walters

> file or something similar in the /etc directory.
> 
> Ian
> 
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/o0fO6XHX5x4iufMRAktTAJ9Rr1Tf7BRr4WGqvZbt25i5TyBo0ACfVNAA
7JtXoMoBAmOOXgkaa6HOAq8=
=JnwX
-----END PGP SIGNATURE-----

Reply via email to