Re: ls defaults...
Am 2006-02-09 02:18:15, schrieb Digby Tarvin:
> 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 .
^^^^^^^^^^^^^^^^
This is ISO style
I get on my Debian machine:
+---[ 'stdin' ]------------------------------------------------+
| |
| [michelle.konzack@michelle1.private:/tmp/] ls -ld . |
| drwxrwxrwt 16 root root 28672 11. Feb 22:17 . |
| [michelle.konzack@michelle1.private:/tmp/] LC_ALL=C ls -ld . |
| drwxrwxrwt 16 root root 28672 Feb 11 22:17 . |
+--------------------------------------------------------------+
>
> 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
Not on my systems (Woody, Sarge, Etch and Sid).
Maybe you have done some configuration?
Greetings
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSM LinuxMichi
0033/3/88452356 67100 Strasbourg/France IRC #Debian (irc.icq.com)
Reply to: