As we all know. Each Unix directory contains special directories - current (.) And parent (..). Also, the top-level root directory in Unix is ββcalled "/".
When I tried in the root directory,
$ ls -ia 2 . 2 .. 3963 bin ...............
both (.) and (..) have the same inode number
& performance
$ cd ..
in the root directory ends in the same place.
My question is, why does even the root directory contain a special list of directories (..)? What is the need to list (..) in the root directory?
source share