Skip to main content
8 events
when toggle format what by license comment
Feb 28 at 14:10 comment added mwfearnley The OP's ls -al probably had the same behaviour (choosing the year or time depending on how far into the future/past it is), only with modified rather than created times.
Nov 2, 2022 at 12:56 comment added foxesque This -c is actually a modifier for -l and -t. It changes the display style for the former, and sorting criteria for the latter. According to manual: −c Use time of last modification of the file status information instead of last modification of the file itself for sorting (−t) or writing (−l).
Apr 22, 2018 at 2:46 comment added G-Man Says 'Reinstate Monica' ls -l displays date and time for dates that are in the past six months, and date and year for other dates.  ctime can be in the past six months just as much as mtime (modification date) can, so ls -lac can display times (instead of years) just as much as ls -la can.  Besides, as Mateen Ulhaq points out, ls -lac does not display the same dates that ls -la does. This answer is wrong.
Apr 22, 2018 at 1:42 review Suggested edits
Apr 22, 2018 at 5:27
Apr 22, 2018 at 1:41 comment added Mateen Ulhaq This seems to change the behavior of ls to date changed rather than the default date modified.
May 8, 2017 at 17:18 comment added Eric I like this. A lot less noise in the output and only one letter to remember in the future.
Jul 28, 2015 at 17:48 review First posts
Jul 28, 2015 at 17:57
Jul 28, 2015 at 17:47 history answered PhilT CC BY-SA 3.0