how to tell "ls" output date in digital
Guojun Jin
gjin at ubicom.com
Wed Sep 8 23:18:31 UTC 2010
No D option in ls:
[162] bsd-ms: ls -lD "+%F %H:%M"
ls: illegal option -- D
usage: ls [-ABCFGHILPRSTUWZabcdfghiklmnopqrstuwx1] [file ...]
[163] bsd-ms: uname -a
FreeBSD bsd-ms 6.4-RELEASE FreeBSD 6.4-RELEASE #0: Thu Mar 5 11:51:50 PST 2009
-----Original Message-----
From: Eitan Adler [mailto:lists at eitanadler.com]
Sent: Wednesday, September 08, 2010 4:09 PM
To: Guojun Jin
Cc: questions at freebsd.org
Subject: Re: how to tell "ls" output date in digital
On Wed, Sep 8, 2010 at 7:03 PM, Guojun Jin <gjin at 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
More information about the freebsd-questions
mailing list