From owner-freebsd-questions@FreeBSD.ORG Sun Jun 22 18:01:33 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0973137B401 for ; Sun, 22 Jun 2003 18:01:33 -0700 (PDT) Received: from priv-edtnes27.telusplanet.net (outbound04.telus.net [199.185.220.223]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36D4A43F3F for ; Sun, 22 Jun 2003 18:01:32 -0700 (PDT) (envelope-from viktorlazlo@telus.net) Received: from njamn8or ([207.6.229.118]) by priv-edtnes27.telusplanet.net ESMTP <20030623010131.QCRW17564.priv-edtnes27.telusplanet.net@njamn8or>; Sun, 22 Jun 2003 19:01:31 -0600 Date: Sun, 22 Jun 2003 18:01:30 -0700 (PDT) From: Viktor Lazlo X-X-Sender: viktorlazlo@njamn8or.no-ip.org To: Peter Leftwich In-Reply-To: <20030622134833.V67487@rocket.alienwebshop.com> Message-ID: <20030622175742.A967@njamn8or.no-ip.org> References: <013a01c33674$8430c200$0eddfea9@perimeter.co.za> <20030622134833.V67487@rocket.alienwebshop.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Joshua Oreman cc: FreeBSD LIST Subject: Re: Mount My Creation [ls -c, -t -u etc] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jun 2003 01:01:33 -0000 On Sun, 22 Jun 2003, Peter Leftwich wrote: > > [1] If I'm in a directory, and do "ls -alF" and see for example: > > drwx------ 2 pete users 512 Jun 22 13:41 myfiles/ > > What "ls" command can I do IN THE CURRENT WORKING DIRECTORY to just see the > "myfiles/" listing? That is, if I type "ls -alF myfiles" (or myfiles/), > why does the output delve *into* this directory and list its contents? > > The only work around is "ls -alF | grep myfiles" it seems! If I understand you correctly and you want to list just the name of a a directory use "ls -d dirname" > [2] What is the switch to see the full date and time output, instead of > this information being truncated to "Dec 3 2002" instead of "Dec 3 2002 > 15:16:01" for example? if you want full date and time use ls -lT Cheers, Viktor