Date: Sun, 22 Jun 2003 18:01:30 -0700 (PDT) From: Viktor Lazlo <viktorlazlo@telus.net> To: Peter Leftwich <Hostmaster@Video2Video.Com> Cc: FreeBSD LIST <FreeBSD-Questions@freebsd.org> Subject: Re: Mount My Creation [ls -c, -t -u etc] Message-ID: <20030622175742.A967@njamn8or.no-ip.org> In-Reply-To: <20030622134833.V67487@rocket.alienwebshop.com> References: <013a01c33674$8430c200$0eddfea9@perimeter.co.za> <20030622134833.V67487@rocket.alienwebshop.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030622175742.A967>