When I change directory to //
, it seems to put me in a special directory that is very similar to but slightly different to /
. However, trying to add any further slashes (///
) simply drops me in /
.
$ cd / ;pwd
/
$ cd // ;pwd
//
$ cd /// ;pwd
/
$ cd //// ;pwd
/
It seems that //
is somehow special, even though it has the same directories and everything, it's still a different string returned by pwd
. Why is this? Why can my working directory be //
but not ///
?