-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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 file or something similar in the /etc directory. Ian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE/aOhmSiY+RXI7JS4RAoh3AJ41MioA9EaKvN7ghMT4KDFq5+qI7QCfX1v/ D00Z0CM7DJTsa6u0vZyR1s8= =golU -----END PGP SIGNATURE-----
