[ale] Am I Linux?

Daniel Newcombe NEWCOMBE at aa.csc.peachnet.edu
Thu Dec 12 09:43:42 EST 1996


>     if ( -e /etc/lilo || -e /sbin/lilo ) then
> One also could test for the existence of /etc/version and grep for Linux in
> it.  With the inappropriate syntax this could be used for other shells too.

What if you don't use Lilo, but have Loadlin, or one of the many 
other boot loaders?   I always thought that the "standard" way of 
seeing what you were on was to do
   uname -a
and pulling back that info.   A lot more portable.

Dan Newcombe
User Services
newcombe at aa.csc.peachnet.edu
"Huh-huh"






More information about the Ale mailing list