Re: how to tell ls output date in digital

2010-09-09 Thread andrew clarke
On Wed 2010-09-08 16:03:20 UTC-0700, Guojun Jin (g...@ubicom.com) wrote: I remember that ls can output date in digital like following format before -rw-r--r-- 1 user Domain Users54323 2010-09-08 14:12 crash.log Instead of Sep 08 2010 or Sep 08 11:07 But I cannot find

Re: how to tell ls output date in digital

2010-09-09 Thread andrew clarke
On Thu 2010-09-09 13:11:39 UTC+, Pala, Santosh (santosh_p...@keane.com) wrote: The ls command with -E switch will give the required output. Hmm, not in FreeBSD 7.3: 23:19 ozzmo...@blizzard [~]/bin/ls -E ls: illegal option -- E usage: ls [-ABCFGHILPRSTUWZabcdfghiklmnopqrstuwx1] [file ...]

RE: how to tell ls output date in digital

2010-09-09 Thread Pala, Santosh
PM To: Guojun Jin Cc: questi...@freebsd.org Subject: Re: how to tell ls output date in digital On Wed 2010-09-08 16:03:20 UTC-0700, Guojun Jin (g...@ubicom.com) wrote: I remember that ls can output date in digital like following format before -rw-r--r-- 1 user Domain Users54323 2010-09

Re: how to tell ls output date in digital

2010-09-09 Thread Jerry McAllister
, Pala. From: owner-freebsd-questi...@freebsd.org [owner-freebsd-questi...@freebsd.org] on behalf of andrew clarke [m...@ozzmosis.com] Sent: Thursday, September 09, 2010 9:24 PM To: Guojun Jin Cc: questi...@freebsd.org Subject: Re: how to tell ls

Re: how to tell ls output date in digital

2010-09-09 Thread Chad Perrin
On Thu, Sep 09, 2010 at 10:29:08AM -0400, Jerry McAllister wrote: On Thu, Sep 09, 2010 at 01:11:39PM +, 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. It works with ATT's version of ls,

Re: how to tell ls output date in digital

2010-09-08 Thread Eitan Adler
On Wed, Sep 8, 2010 at 7:03 PM, Guojun Jin g...@ubicom.com wrote: I remember that ls can output date in digital like following format ls -lD format check strftime(3) for details on format. -- Eitan Adler ___ freebsd-questions@freebsd.org mailing

RE: how to tell ls output date in digital

2010-09-08 Thread Guojun Jin
...@eitanadler.com] Sent: Wednesday, September 08, 2010 4:09 PM To: Guojun Jin Cc: questi...@freebsd.org Subject: Re: how to tell ls output date in digital On Wed, Sep 8, 2010 at 7:03 PM, Guojun Jin g...@ubicom.com wrote: I remember that ls can output date in digital like following format ls -lD

Re: how to tell ls output date in digital

2010-09-08 Thread Chuck Swiger
Hi-- On Sep 8, 2010, at 4:14 PM, Guojun Jin wrote: No D option in ls: [162] bsd-ms: ls -lD +%F %H:%M ls: illegal option -- D usage: ls [-ABCFGHILPRSTUWZabcdfghiklmnopqrstuwx1] [file ...] I suspect that's a GNU extention to their version of ls. Try installing /usr/ports/sysutils/coreutils

Re: how to tell ls output date in digital

2010-09-08 Thread Eitan Adler
On Wed, Sep 8, 2010 at 7:20 PM, Chuck Swiger cswi...@mac.com wrote: Hi-- On Sep 8, 2010, at 4:14 PM, Guojun Jin wrote: No D option in ls: [162] bsd-ms: ls -lD +%F %H:%M ls: illegal option -- D usage: ls [-ABCFGHILPRSTUWZabcdfghiklmnopqrstuwx1] [file ...] % svn log -r 177907

RE: how to tell ls output date in digital

2010-09-08 Thread Guojun Jin
...@freebsd.org Subject: Re: how to tell ls output date in digital On Wed, Sep 8, 2010 at 7:20 PM, Chuck Swiger cswi...@mac.com wrote: Hi-- On Sep 8, 2010, at 4:14 PM, Guojun Jin wrote: No D option in ls: [162] bsd-ms: ls -lD +%F %H:%M ls: illegal option -- D usage: ls