how to tell "ls" output date in digital
mail at ozzmosis.com
Thu Sep 9 11:51:07 UTC 2010
On Wed 2010-09-08 16:03:20 UTC-0700, Guojun Jin (gjin at ubicom.com) wrote:
> I remember that "ls" can output date in digital like following format
> -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=long-iso --color=auto
21:23 ozzmosis at blizzard [~]ls -ld /
drwxr-xr-x 19 root wheel 512 2010-09-05 03:11 /
More information about the freebsd-questions