delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/30/12:34:35

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-Id: <5.1.0.14.2.20021030092842.0216cb90@pop3.cris.com>
X-Sender: rrschulz AT pop3 DOT cris DOT com
Date: Wed, 30 Oct 2002 09:34:20 -0800
To: cygwin AT cygwin DOT com
From: Randall R Schulz <rrschulz AT cris DOT com>
Subject: Re: Question about the ls command
In-Reply-To: <Pine.OSF.4.32.0210301155460.5849-100000@typhoon.ocis.templ
e.edu>
References: <000901c28035$9df0c820$cd8a9dc0 AT uk DOT aonix DOT com>
Mime-Version: 1.0

Stan,

If that's so, then you're not invoking "ls" directly or you're not invoking 
Cygwin's ls. (Both of those invocations work find for me, by the way.) 
Perhaps there's an alias, a function or a script intervening that's 
\defined under the assumption of a simpler (or simply an alternate) kind of 
invocation.

Assuming you're using BASH, use this command: "type -a ls" to discover what 
is being invoked when you issue an "ls" command. Make sure that either 
"/bin/ls" or "/usr/bin/ls" is in the list of "ls" commands. Then get rid of 
the incorrect or inappropriate ones, either by removing their definitions 
(if its and alias or shell function) or re-ordering your PATH so the proper 
"ls" is chosen instead of the bogus one.

Randall Schulz
Mountain View, CA USA


At 08:56 2002-10-30, Stan Horwitz wrote:


>On Wed, 30 Oct 2002, Cliff Hones wrote:
> >
> > The 'man' command is your friend.  If you run "man ls" you will
> > find many options for controlling the output of ls, including
> > --full-time, which is probably what you need.
>
>Sorry, I should have stated that I checked the man page. When I do
>something like "ls -ls --full-time" or "ls -ls -F --full-time" I get a
>syntax error.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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