[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Am I Linux?
- Subject: [ale] Am I Linux?
- From: NEWCOMBE at aa.csc.peachnet.edu (Daniel Newcombe)
- Date: Thu, 12 Dec 1996 09:43:42 EST
> 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"