Changing the date format.

Paul Tader netnews at linuxscope.com
Wed Jan 18 04:25:06 UTC 2006


How can I change the way the date is displayed system-wide?

from:

netnews at tweet:/var/log$ ls -l
total 608
drwxr-xr-x  2 root  root   4096 2006-01-15 06:25 apache
-rw-r--r--  1 root  root      0 2006-01-04 06:25 aptitude
-rw-r--r--  1 root  root    698 2006-01-04 06:25 aptitude.1.gz
...

to look like:

netnews at tweet:/var/log$ ls -l --time-style=locale
total 608
drwxr-xr-x  2 root  root   4096 Jan 15 06:25 apache
-rw-r--r--  1 root  root      0 Jan  4 06:25 aptitude
-rw-r--r--  1 root  root    698 Jan  4 06:25 aptitude.1.gz
...

In other words, were can I set the "time-style" for all users.

Thanks,
Paul





More information about the ubuntu-users mailing list