From: "Pidgeon, Phillip" <PPIDGEON () omc ! otis ! utc ! com>
To: tru64-unix-managers
Subject: How to change ls -la date/time format?
Date: Thu, 17 Oct 1996 09:50:00 +0000 [thread overview]
Message-ID: <96076340321623.tru64-unix-managers.marc@archive.invalid> (raw)
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
reply other threads:[~1996-10-17 9:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox