[ale] Am I linux?
Alex Agle
ccasta1 at oit.gatech.edu
Thu Dec 12 00:41:04 EST 1996
Bob Toxen said:
> 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.
I've got an older version of linux, and I don't have an /etc/version
in my filesystem.
Usually a surefire way to figure out what unix you're running is to
use the uname command. uname -a lists all of the information.
Alex
More information about the Ale
mailing list