This is the mail archive of the cygwin 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: how to run shell script


On 23 April 2007 10:42, sg wrote:

> hi friends,,
> 
> how to run shell script on cygwin in windows..

  chmod a+x ./script-name
  ./script-name

i.e. it has to have the executable bit set, and you need to specify the
current directory as part of the path if you haven't got the current directory
in your $PATH (which you probably don't, and probably shouldn't).



    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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]