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 AT&T's vers

Re: how to tell "ls" output date in digital

2010-09-09 Thread Jerry McAllister
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 > > befo

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-

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 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 can

RE: how to tell "ls" output date in digital

2010-09-08 Thread Guojun Jin
in; questi...@freebsd.org Subject: Re: how to tell "ls" output date in digital On Wed, Sep 8, 2010 at 7:20 PM, Chuck Swiger wrote: > Hi-- > > On Sep 8, 2010, at 4:14 PM, Guojun Jin wrote: >> No D option in ls: >> >> [162] bsd-ms: ls -lD &quo

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 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 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/cor

RE: how to tell "ls" output date in digital

2010-09-08 Thread Guojun Jin
itan Adler [mailto:li...@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 wrote: > I remember that "ls" can output date in digital like

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 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 list http://

how to tell "ls" output date in digital

2010-09-08 Thread Guojun Jin
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 any option or ENV to do this under FreeBSD (6.X-R). Does anyone have kn