be able to handle c:
elif [ -f c:/mydir/test.sql ]; then
sqlplus scott/tiger @c:/mydir/test.sql
else
echo "Can't find .../mydir/test.sql"
exit 1
fi
-Original Message-
From: Michael A Chase [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 04, 2002 11:06 PM
To: Gup
uname -s
If it is a Windows box and that command works :) it would have the
string "cygwin". Most linux dists say Linux. You can use -a instead of
-s to get all of the data from the uname.
Experimentation with that command would give you the most benefit.
On Thu, 4 Apr 2002, Gupta, Sanjay w
At 23:24 2002-04-04, you wrote:
> > -Original Message-
> > From: Gupta, Sanjay [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, April 05, 2002 5:04 PM
> > To: '[EMAIL PROTECTED]'
> > Subject: Re: Which OS Type
> >
> >
> > Thanks Randa
From: "Gupta, Sanjay" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 04, 2002 22:34
Subject: Which OS Type
> 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 Ty
> -Original Message-
> From: Gupta, Sanjay [mailto:[EMAIL PROTECTED]]
> Sent: Friday, April 05, 2002 5:04 PM
> To: '[EMAIL PROTECTED]'
> Subject: Re: Which OS Type
>
>
> Thanks Randall R Schulz,
> Your response was very quick. I just want to ma
Thanks Randall R Schulz,
Your response was very quick. I just want to make sure that all windows
platforms have CYGWIN_ as prefix in cygwin, then I can simply grep CYGWIN_
from uname.
Sanjay
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.c
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 u
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 and if the shell script is run under windows
environment using cygw
8 matches
Mail list logo