[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] Am I linux?



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