On Thu, 9 Feb 2006 02:18:15 +0000 Digby Tarvin <[EMAIL PROTECTED]> wrote:
> Anyone know the story behind the apparent change in default 'ls' output > on Debian - at least compared to all of the other Linux (and Unix) systems > I have used? > > The difference I am referring to is the date format used when the > '-l' option is used. > > For example, "ls -ld ." on the following systems produces: > SuSE: > drwxr-xr-x 50 digbyt digbyt 8192 Feb 6 17:28 . > Gentoo: > drwxr-xr-x 40 digbyt digbyt 4096 Feb 8 14:35 . > BSD/OS > drwxr-xr-x 2 digbyt digbyt 14848 Feb 9 02:05 . > Solaris: > drwxr-x--x 16 digbyt staff 1024 Jan 28 08:31 . > But on Debian: > drwxr-xr-x 22 digbyt digbyt 2048 2006-02-09 01:55 . > > I know I can produce the traditional format using > ls -l --time-style=locale > and the default seems to correspond to > ls -l --time-style=long-iso > > But why has what I thought was a standard install produced a different > default to all the other systems I have tried, and how do I change this > default system wide (not just my personal account)? I really want the > change to Debian to be as invisible as possible to normal users... I don't know the answer to your questions above, but you can always put an alias in /etc/profile which is the global profile for all bash shells. alias ls='ls --time-style=locale' should do it. A > > Regards, > DigbyT > -- > Digby R. S. Tarvin > digbyt(at)digbyt.com > http://www.digbyt.com > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] >
pgp5QQxi433IX.pgp
Description: PGP signature