[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Am I linux?
- Subject: [ale] Am I linux?
- From: ccasta1 at oit.gatech.edu (Alex Agle)
- Date: Thu, 12 Dec 1996 00:41:04 -0500 (EST)
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