0

While I am running ls command on IBM AIX machine, sometimes it is resulting in only year part of the file timestamp.

For example : ls -lrt test.txt 0 Apr 28 2020 test.txt but sometimes the command is resulting in only year part of the file timestamp.

Can you please help us on how and when this issue occurs in AIX Unix

sathish
  • 11
  • Hello sathish. I'm not sure I entirely understand your question (something to do with ls?). Please would you provide a real example, and format the command and its response with the {} button so we can see what's computer interaction and what's your explanation surrounding it. – Chris Davies Apr 28 '20 at 16:11
  • Do you really get the year displayed for a file created today as well ("Apr 28 2020")? – DonHolgo Apr 28 '20 at 16:57
  • when i run ls -lrt test.txt sometimes we get output as 0 Apr 28 2020 test.txt and sometimes we get output as 0 2020 test.txt – sathish Apr 28 '20 at 19:07

1 Answers1

0

This is handled the same way on all UNIX platforms.

If a file is older than 6 months, only the date is shown.

schily
  • 19,173