This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Which OS Type


Sanjay,

The usual. Nothing specific to Cygwin:

% uname
CYGWIN_NT-5.0

% uname -a
CYGWIN_NT-5.0 CLEMENS 1.3.10(0.51/3/2) 2002-02-25 11:14 i686 unknown


Randall Schulz
Mountain View, CA USA


At 22:34 2002-04-04, Gupta, Sanjay wrote:
>Is there any command to find out which Operating System I am using. 
>Basically, I need to know whether the OS is Windows type or Unix Type. The 
>Unix type could be any Unix e.g. Sun , HP etc , Linux etc.
>
>I am writing a shell script ...
>
>Thanks
>Sanjay


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]