[indiana-discuss] uname output reference

Hugo Garcia hgarcia at bluekorn.com
Thu Jul 3 10:03:08 PDT 2008


Hi

I have to modify a sh script that currently uses 'uname -s' to to
distinquish between linux, freebsd and solaris. I would like to be
more specific and add a test for the different versions of
OpenSolaris. Is there a table somewhere with the different outputs
from uname on diff versions of OpenSolaris?

For example my 'uname -a; is

$ uname -a
SunOS boulder 5.11 snv_91 i86pc i386 i86pc Solaris

What is it for an x86 32 bit machine? For a Sparc platform?...

-H



More information about the indiana-discuss mailing list