Why does ls show year instead of hour while running ls -l?
Issue
# touch --date "+60 seconds" testfile
# ls -l testfile
-rw-r--r--. 1 root root 0 Mar 1 2019 testfile
Environment
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.