delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/09/21/03:54:27

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00,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: <BLU0-SMTP432975DFB75C789EA26B3AD9D9A0@phx.gbl>
References: <BLU0-SMTP432975DFB75C789EA26B3AD9D9A0 AT phx DOT gbl>
Date: Fri, 21 Sep 2012 09:53:56 +0200
Message-ID: <CAEhDDbA-HDAc-T4FO=gTD6xH-5oaj-Y8ax2M7JkcGpq9PHhonw@mail.gmail.com>
Subject: Re: cannot execute binary file
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 Fri, Sep 21, 2012 at 12:07 AM, RobF  wrote:
> Seemingly spontaneously, my ls command has stopped working.
>
> $ ls
> -bash: /usr/bin/ls: cannot execute binary file
>
> I tried reinstalling bash and that didn't help.  Any suggestions?

ls.exe is in the coreutils package. Try reinstalling that.

Out of curiosity, what is the output of

file /usr/bin/ls

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