Hi
Can anyone provide me with the command to change the format of the ls -la
date/time format to YY/MM/DD:HH:MM:SS (for sorting purposes) rather than
the split date/day/time or year format that occurs by default.
ie by default you get:
>ls -la
-rwxrwxr-x 1 root users 68351 Nov 8 1994 /path/filename1
or
-rwxrwxr-x 1 root users 68351 Jul 19 17:15 /path/filename2
I would like (or equivalent):
-rwxrwxr-x 1 root users 68351 94/11/08:01:00:00 /path/filename1
-rwxrwxr-x 1 root users 68351 96/07/19:17:15:05 /path/filename2
The man pages refers to the locale setting LC_TIME but I don't know how to
set this variable
nor does the man pages elaborate.
Thanks in advance
Regards,
Phil Pidgeon
OTIS Engineering Center
ppidgeon_at_omc.otis.utc.com
Received on Thu Oct 17 1996 - 09:54:15 NZDT