From owner-freebsd-questions@FreeBSD.ORG Sat Jun 21 08:47:24 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 3DEE037B401 for ; Sat, 21 Jun 2003 08:47:24 -0700 (PDT) Received: from adsl-64-161-78-226.dsl.lsan03.pacbell.net (adsl-64-161-78-226.dsl.lsan03.pacbell.net [64.161.78.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 7143543FA3 for ; Sat, 21 Jun 2003 08:47:23 -0700 (PDT) (envelope-from oremanj@adsl-64-161-78-226.dsl.lsan03.pacbell.net) Received: (qmail 39305 invoked by uid 1001); 21 Jun 2003 15:49:50 -0000 Date: Sat, 21 Jun 2003 08:49:50 -0700 From: Joshua Oreman To: Peter Leftwich Message-ID: <20030621154950.GA39220@webserver.get-linux.org> References: <013a01c33674$8430c200$0eddfea9@perimeter.co.za> <20030621003109.W70931@rocket.alienwebshop.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030621003109.W70931@rocket.alienwebshop.com> User-Agent: Mutt/1.4.1i cc: questions@freebsd.org 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: Sat, 21 Jun 2003 15:47:24 -0000 On Sat, Jun 21, 2003 at 12:41:36AM -0400 or thereabouts, Peter Leftwich seemed to write: > On Thu, 19 Jun 2003, Patrick O'Reilly wrote: > > > I have noticed in the man page for 'find' that the primaries allow > > > selection based on time last "accessed", last "modified" and last > > > "change" of status. Evidently this info is held somewhere. I don't > > > have more info off hand, but perhaps this will nudge you in a useful > > > direction? > > > Patrick. > > And see 'man ls' and the switches -c, -t and -u. > > I was aware of and often use the -t switch (in a tcsh alias), but these > have to do with sorting. What if I wanted to see (maybe not as output from > a single command but a few) the creation date, last modification date, and > last access time for a directory? What are the command lines I'd use (to > include "." files and NOT recursively list within a/the directory)? Include . files - ls -a Don't recurse - DON'T include -R Inode change time - ls -lc Last modified - ls -l Last accessed - ls -lu Note that there is no "creation time" - it's actually just the inode change time. So it will change when you make a new link to the file, for example, or when you set any of the file's times other than last modified, with `touch'. -- Josh > > PS - PLEASE CC: ME IN YOUR REPLY > > -- > Peter Leftwich > President & Founder, Video2Video Services > Box 13692, La Jolla, CA, 92039 USA > http://Www.Video2Video.Com > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"