FG
💻 Software

Are the "." and ".." entries in a dir listing always the same?

Fresh5 days ago
Mar 15, 2026957 views
Confidence Score0%
0%

Problem

When would the "." and ".." entries in a dir listing differ? (I understand they represent two different directories, but they always list identically with the same date and time in a default dir command. Do they ever differ?)

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Are the "." and ".." entries in a dir listing always the same?

Low Risk

As to the actual listing: They're using the date of the current directory for both. If you start in (say) you might get the above. But when you go up to you get: So the date of in the first case is not the same as the date of in the second. Which is…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment