My teacher asked me why directory "//" (double-slash) exists.
I know that the // is the same as /.
I search for it and found many answers (// was created for compatibility with older Unix Systems) and other like (// is nothing and is just the /).
My teacher said that is all wrong.
So why // exists, what is the propose of having a directory that do the same as /?
//directory exist, or is//just another way of typing/?ls -ai /It also removes concerns about "/termination" whenbashing together (constructing) a complex path. Typos from URIs, too. – waltinator Feb 21 '22 at 20:19