From owner-freebsd-questions@FreeBSD.ORG Thu Sep 9 14:32:04 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 980FF10656C0 for ; Thu, 9 Sep 2010 14:32:04 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 410EB8FC12 for ; Thu, 9 Sep 2010 14:32:03 +0000 (UTC) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id o89ET8vY083400; Thu, 9 Sep 2010 10:29:08 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id o89ET89k083399; Thu, 9 Sep 2010 10:29:08 -0400 (EDT) (envelope-from jerrymc) Date: Thu, 9 Sep 2010 10:29:08 -0400 From: Jerry McAllister To: "Pala, Santosh" Message-ID: <20100909142907.GA83383@gizmo.acns.msu.edu> References: <20100909112421.GA31640@ozzmosis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: "questions@freebsd.org" , andrew clarke , Guojun Jin Subject: Re: how to tell "ls" output date in digital X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Sep 2010 14:32:04 -0000 On Thu, Sep 09, 2010 at 01:11:39PM +0000, Pala, Santosh wrote: > Hi Andrew, > > The ls command with -E switch will give the required output. Doesn't for me. Says -E is an illegal option. Running FreeBSd 8.1 stock ls. On the other hand, ls -lD "%F %T %Z" does nicely. ////jerry > > Regards, > Pala. > ________________________________________ > From: owner-freebsd-questions@freebsd.org [owner-freebsd-questions@freebsd.org] on behalf of andrew clarke [mail@ozzmosis.com] > Sent: Thursday, September 09, 2010 9:24 PM > To: Guojun Jin > Cc: questions@freebsd.org > Subject: Re: how to tell "ls" output date in digital > > On Wed 2010-09-08 16:03:20 UTC-0700, Guojun Jin (gjin@ubicom.com) wrote: > > > I remember that "ls" can output date in digital like following format > > before > > > > -rw-r--r-- 1 user Domain Users 54323 2010-09-08 14:12 crash.log > > > > Instead of Sep 08 2010 or Sep 08 11:07 > > > > But I cannot find any option or ENV to do this under FreeBSD (6.X-R). > > > > Does anyone have knowledge about this possibility? > > In FreeBSD 7.3 I use /usr/local/bin/gls installed from the > sysutils/coreutils port, and a tcsh alias for ls: > > ls gls --time-style=long-iso --color=auto > > 21:23 ozzmosis@blizzard [~]ls -ld / > drwxr-xr-x 19 root wheel 512 2010-09-05 03:11 / > > Regards > Andrew > _______________________________________________ > 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" > > ______________________________________________________________________ > Disclaimer: This email message and any attachments are for the sole use of the intended recipient(s) and may contain information that is confidential, legally privileged or otherwise exempt from disclosure under applicable law. If you are not the intended recipient(s) or have received this message in error, you are instructed to immediately notify the sender by return email and required to delete this message from your computer system. This communication does not form any contractual obligation on behalf of the sender, the sender's employer or such employer's parent company, affiliates or subsidiaries. > _______________________________________________ > 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" >