[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ls defaults...



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...

Regards,
DigbyT
-- 
Digby R. S. Tarvin                                          digbyt(at)digbyt.com
http://www.digbyt.com



Reply to: