ls-F tcsh built-in command
mail at ozzmosis.com
Sun May 20 11:00:29 UTC 2012
On Thu 2012-05-17 15:17:13 UTC+0200, Polytropon (freebsd at edvax.de) wrote:
> Search for "LS_COLORS" in the environment variables section
> of "man csh". However, I've always been satisfied with using
> $LSCOLORS as "ExGxdxdxCxDxDxBxBxegeg". :-)
Before I discovered $LSCOLORS I used gls from
/usr/ports/sysutils/coreutils and had an alias in .tcshrc:
alias ls "gls --time-style=long-iso --color=auto"
I still use this in Linux.
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. :-)
More information about the freebsd-questions