Date: Sun, 20 May 2012 17:31:40 +0200 From: Polytropon <freebsd@edvax.de> To: andrew clarke <mail@ozzmosis.com> Cc: freebsd-questions@freebsd.org, fake fake <four.troublesome.heads@gmail.com> Subject: Re: ls-F tcsh built-in command Message-ID: <20120520173140.428f4b59.freebsd@edvax.de> In-Reply-To: <20120520105950.GA64196@ozzmosis.com> References: <CA%2BrxiGCyQhMuVex3M1QdqEeQp_pMyf%2BcbEskahdNoO4C%2BmqoEw@mail.gmail.com> <4FB4DEC1.8020704@bananmonarki.se> <CA%2BrxiGBETBvdjhGUF73OSYO6xEbbgjRsxPcbs9sntB49wRyo9w@mail.gmail.com> <20120517145437.03dd4cdf.freebsd@edvax.de> <CA%2BrxiGAGayqgoUaf%2BDsDZhMLbz2juH_AO_NT-6vAtvk3Rp2VaA@mail.gmail.com> <20120517151713.2503552d.freebsd@edvax.de> <20120520105950.GA64196@ozzmosis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120520173140.428f4b59.freebsd>