X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=k0SFIlwV6qesJn4nSObabEmvdUXocqVGBZrB/pRKzIe yu/ks+/5FbM/jpJP6Zwv3DcYxzcP1TZ+za4TV6Qxsf/g+zIcODLsRMJ7GtK+1bzr hy4xmriZj0DG3F40/vD2sG6gTdh/C8/H9bR0OXtdqVLOA33CrEuIv3QhMiy9Qbnc = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=Ou3xczlEyNBdvx/Jq91tpjvwRc4=; b=qr2wCBeqQIEaIgpDl jn3nUMCjhj/O1csAGYHsDevRmAbOJw/V2N2yVfrUlSEfBGHXE5KzCSYzdvB2W10x c0qFeRq/UM7VfOtDOz3I37kThppj1avgV3CcYEx0HQEbLwndpclImuBvBw3Zdu6C fWSaGG0y4dTkPp3Vnb5rUPrd+s= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: limerock04.mail.cornell.edu X-CornellRouted: This message has been Routed already. Message-ID: <540F9EC7.6040606@cornell.edu> Date: Tue, 09 Sep 2014 20:43:51 -0400 From: Ken Brown User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Unable to execute local scripts to run commands through SSH from Cygwin References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes On 9/9/2014 6:08 PM, Jim Reswick wrote: > Here is what I get when I execute the second script in the Cygwin session > (that contains only the same command line as above): > > srv_imgctrlmsqladmin AT RCOVSVR0414 ~ > $ . /home/srv_imgctrlmsqladmin/call_test.sh > : No such file or directorydmin/test2.sh Does your script have DOS line endings? Ken -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple