* How to change ls -la date/time format?
@ 1996-10-17 9:50 Pidgeon, Phillip
0 siblings, 0 replies; only message in thread
From: Pidgeon, Phillip @ 1996-10-17 9:50 UTC (permalink / raw)
To: tru64-unix-managers
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@omc.otis.utc.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-10-17 9:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-10-17 9:50 How to change ls -la date/time format? Pidgeon, Phillip
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox