ls-F tcsh built-in command

Polytropon freebsd at
Sun May 20 15:31:43 UTC 2012

On Sun, 20 May 2012 20:59:50 +1000, andrew clarke wrote:
> In FreeBSD I use /bin/ls:
> setenv LSCOLORS "ExGxFxdxCxDxDxhbadExEx"
> alias ls 'ls -D "%Y-%m-%d %H:%M:%S"'
> The -D stuff is to display ISO 8601 style timestamps like GNU ls's
> --time-style=long-iso format, eg:
> -r-xr-xr-x  1 root  wheel  12612347 2011-09-28 19:13:57 /boot/GENERIC/kernel
> I don't know if this helps the OP. :-)

At least it helps me, many thanks for the inspiration!
I now have (and intend to keep using):

	setenv LSCOLORS "ExGxdxdxCxDxDxBxBxegeg"
	alias ls 'ls -FG -D "%Y-%m-%d %H:%M:%S"'
	alias ll 'ls -laFG -D "%Y-%m-%d %H:%M:%S"'

This is nice because I haven't found a feature of gls yet
that I needed, but which system's ls couldn't provide.

Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

More information about the freebsd-questions mailing list