how did the ls command display dates in old Linux versions?
Hi: how did the ls command display dates in old Linux versions? Did it use the month name? If you ask how old, take Linux 2.x.x. That's all.
|
Quote:
But seriously, there is no reason for the kernel version to affect the format of date printed by ls. Perhaps you should check the coreutils NEWS file: http://git.savannah.gnu.org/cgit/cor....git/tree/NEWS, e.g. Quote:
|
I don't recall that it was different. Might have to look at old books or find an old man page?
Pretty sure you could find a floppy image or some old distro and run it in a vm to see. Thoms boot disk would have a minimal busybox but busybox versions may not act like stand alone programs. |
Quote:
Code:
--time-style=STYLE |
Since kernel 1.2.1 the same way as it does now, but I do not know if there was a way to change the format displayed
|
I didn't know this before, but you can change the style of the date display by adding arguments to the ls command.
Code:
$ ls -l --time-style=long-iso Quote:
|
All times are GMT -5. The time now is 07:25 AM. |