delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/08/29/03:40:31

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.9 required=5.0 tests=AWL,BAYES_20,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <503D52E7.7050505@gmail.com>
References: <503C0C1A DOT 9040608 AT gmail DOT com> <503CDCEE DOT 2000607 AT cygwin DOT com> <503CE265 DOT 9000800 AT gmail DOT com> <503D215B DOT 2060705 AT cygwin DOT com> <503D23CE DOT 6010804 AT gmail DOT com> <503D299D DOT 9030408 AT cygwin DOT com> <503D2EA8 DOT 8090704 AT gmail DOT com> <503D52E7 DOT 7050505 AT gmail DOT com>
Date: Wed, 29 Aug 2012 09:40:02 +0200
Message-ID: <CAEhDDbAZ0cWZku36WsbeDtut8owxBHsmnWv2FOKkF0btvx_11w@mail.gmail.com>
Subject: Re: Build script error (libiconv + custom prefix)
From: Csaba Raduly <rcsaba AT gmail DOT com>
To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Wed, Aug 29, 2012 at 1:23 AM, Tasos Laskos  wrote:
> One question though. how do you run a Linux command from Windows?
> I tried C:\cygwin\bin\bash.exe -c "ls -la" but it doesn't work in Cygwin.
>

You could just run

C:\cygwin\bin\ls -la

or, if C:\cygwin\bin is in the PATH, simply run

ls -la

-- 
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019