From owner-freebsd-questions@FreeBSD.ORG Thu Sep 9 13:39:30 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 EBA6A10656E8 for ; Thu, 9 Sep 2010 13:39:30 +0000 (UTC) (envelope-from Santosh_Pala@KEANE.COM) Received: from mail192.messagelabs.com (mail192.messagelabs.com [216.82.241.243]) by mx1.freebsd.org (Postfix) with ESMTP id 972968FC1F for ; Thu, 9 Sep 2010 13:39:30 +0000 (UTC) X-VirusChecked: Checked X-Env-Sender: Santosh_Pala@KEANE.COM X-Msg-Ref: server-13.tower-192.messagelabs.com!1284037967!34031216!1 X-StarScan-Version: 6.2.4; banners=keane.com,-,- X-Originating-IP: [115.248.191.9] Received: (qmail 11508 invoked from network); 9 Sep 2010 13:12:50 -0000 Received: from unknown (HELO MSG503.KDS.KEANE.COM) (115.248.191.9) by server-13.tower-192.messagelabs.com with AES128-SHA encrypted SMTP; 9 Sep 2010 13:12:50 -0000 Received: from MAIL504.KDS.KEANE.COM ([fe80::1921:c62:e8c6:b522]) by MSG503.KDS.KEANE.COM ([::1]) with mapi; Thu, 9 Sep 2010 18:42:47 +0530 From: "Pala, Santosh" To: andrew clarke , Guojun Jin Thread-Topic: how to tell "ls" output date in digital Thread-Index: AQHLUBVilAdv4xoKUECwBaNO2PGK45MJoOny Date: Thu, 9 Sep 2010 13:11:39 +0000 Message-ID: References: , <20100909112421.GA31640@ozzmosis.com> In-Reply-To: <20100909112421.GA31640@ozzmosis.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "questions@freebsd.org" 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 13:39:31 -0000 Hi Andrew, The ls command with -E switch will give the required output.=20 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=3Dlong-iso --color=3Dauto 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.or= g" ______________________________________________________________________ Disclaimer: This email message and any attachments are for the sole use o= f the intended recipient(s) and may contain information that is confidenti= al, legally privileged or otherwise exempt from disclosure under applicabl= e law. If you are not the intended recipient(s) or have received this mess= age in error, you are instructed to immediately notify the sender by retur= n email and required to delete this message from your computer system. Thi= s communication does not form any contractual obligation on behalf of the = sender, the sender's employer or such employer's parent company, affiliate= s or subsidiaries.