The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
how to tell which OS via command line
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Directory
Register
Forum Rules
FAQ
Contribute
Members List
Search
Today's Posts
Mark Forums Read
Thread
:
how to tell which OS via command line
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
3
(
permalink
)
05-15-2007
zazzybob
Registered Geek
Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
Depends on Linux distribution.
Take a look under /etc for a file named *release*
Code:
ls /etc/*release* cat /etc/*release*
Not all distributions provide this file.
Cheers
ZB
zazzybob
View Public Profile
Visit zazzybob's homepage!
Find all posts by zazzybob