> I could be wrong, but I think the traditional way to do that is using
> the 'uname' command. On Linux, calling 'uname' alone will return
> 'Linux'; on some Irix systems I have access too, it looks like 'IRIX64';
> on the AIX system, I get "AIX"; HP-UX says "HP-UX"; etc. If the output
> is not clear enough, I usually try the "-a" parameter. If that doesn't
> help, post again, and we can probably help.
You can also do the following:
echo $OSTYPE
This will return 'linux' on a linux machine or on AIX 'aix4.3' things like
that.
--Michael R. Bright
--------------------
BYU Unix Users Group
http://uug.byu.edu/
The opinions expressed in this message are the responsibility of their
author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG.
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list