Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com Message-Id: <5.1.0.14.2.20021030092842.0216cb90@pop3.cris.com> X-Sender: rrschulz@pop3.cris.com Date: Wed, 30 Oct 2002 09:34:20 -0800 To: cygwin@cygwin.com From: Randall R Schulz Subject: Re: Question about the ls command In-Reply-To: References: <000901c28035$9df0c820$cd8a9dc0@uk.aonix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed 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/