$ cd /
/$ ls
bin dev home initrd.img.old lib64 media opt root sbin sys usr vmlinuz
boot etc initrd.img lib lost+found mnt proc run srv tmp var vmlinuz.old
/$ cd //
//$ ls
bin dev home initrd.img.old lib64 media opt root sbin sys usr vmlinuz
boot etc initrd.img lib lost+found mnt proc run srv tmp var vmlinuz.old
//$ pwd
//
//$ cd ///
/$
/$ pwd
/
What is this trickery? What is //?
/and//directory? โ Vorac May 29 '18 at 01:14ls -lid / //would probably show the same inode --> the same directory. Per the linked duplicate,There is one exception: if a pathname starts with exactly two slashes, it may be treated differently (ref: base definitions ยง4.11 pathname resolution). Linux itself doesn't do thisโ Jeff Schaller May 29 '18 at 01:35