how to tell "ls" output date in digital
cswiger at mac.com
Wed Sep 8 23:21:01 UTC 2010
On Sep 8, 2010, at 4:14 PM, Guojun Jin wrote:
> No D option in ls:
>  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 and see whether /usr/local/bin/ls supports this....
More information about the freebsd-questions