[Strange situation on 10.13.6 (17G65)]
Amongst a bunch of Terminal tabs, I had two with the same working directory but in one what I saw with "ls -lrta" was stale.
I tend to keep my MBP up and signed in for many days between shutdown/restart. Before I shutdown/restart I go through my Terminal tabs and execute something like "history > history2" since I've had Terminal start up and forget all my previous sessions too many times. Last night I was aware that the next tab I went to do this in was in the same directory as the previous tab, so as I tab-completed the output filename (eg. history2) I fully expected to have to adjust the 2 to a 3. However, it seemed that only the file "history" existed. Doing an "ls -lrta" in each I could see that they were largely the same directories by content/timestamps but the last few files were either missing or stale in the second bash session.
Has anyone seen something like this, know if it's a known bug, or related to some feature that I may be unaware of?
Thanks,
Steven